Method
attachTerminal
(
sid: string,
terminalId: string,
options: TerminalAttachOptions = {},
)
Source from the content-addressed store, hash-verified
| 482 | |
| 483 | // ── Terminal WS controls ─────────────────────────────────────────────── |
| 484 | attachTerminal( |
| 485 | sid: string, |
| 486 | terminalId: string, |
| 487 | options: TerminalAttachOptions = {}, |
| 488 | ): Promise<TerminalAttachResult> { |
| 489 | return this._sendWsControl<TerminalAttachResult>( |
| 490 | 'terminal_attach', |
| 491 | { |
| 492 | session_id: sid, |
| 493 | terminal_id: terminalId, |
| 494 | since_seq: options.sinceSeq, |
| 495 | }, |
| 496 | options.timeoutMs, |
| 497 | ); |
| 498 | } |
| 499 | |
| 500 | detachTerminal( |
| 501 | sid: string, |
Tested by
no test coverage detected