(data: string)
| 66 | } |
| 67 | |
| 68 | function write(data: string): void { |
| 69 | const current = terminal.value; |
| 70 | if (!current || readOnly.value) return; |
| 71 | ensureConnection()?.terminalInput(current.sessionId, current.id, data); |
| 72 | } |
| 73 | |
| 74 | function resize(cols: number, rows: number): void { |
| 75 | const current = terminal.value; |
nothing calls this directly
no test coverage detected