Method
resizeTerminal
(
sid: string,
terminalId: string,
cols: number,
rows: number,
options: TerminalControlOptions = {},
)
Source from the content-addressed store, hash-verified
| 523 | } |
| 524 | |
| 525 | resizeTerminal( |
| 526 | sid: string, |
| 527 | terminalId: string, |
| 528 | cols: number, |
| 529 | rows: number, |
| 530 | options: TerminalControlOptions = {}, |
| 531 | ): Promise<TerminalResizeResult> { |
| 532 | return this._sendWsControl<TerminalResizeResult>( |
| 533 | 'terminal_resize', |
| 534 | { session_id: sid, terminal_id: terminalId, cols, rows }, |
| 535 | options.timeoutMs, |
| 536 | ); |
| 537 | } |
| 538 | |
| 539 | closeTerminalControl( |
| 540 | sid: string, |
Tested by
no test coverage detected