(sessionId: string, terminalId: string)
| 223 | } |
| 224 | |
| 225 | terminalDetach(sessionId: string, terminalId: string): void { |
| 226 | this.terminalAttachments.delete(terminalKey(sessionId, terminalId)); |
| 227 | if (!this.connected || !this.ws) return; |
| 228 | this.send({ |
| 229 | type: 'terminal_detach', |
| 230 | id: this.nextId(), |
| 231 | payload: { session_id: sessionId, terminal_id: terminalId }, |
| 232 | }); |
| 233 | } |
| 234 | |
| 235 | terminalClose(sessionId: string, terminalId: string): void { |
| 236 | this.terminalAttachments.delete(terminalKey(sessionId, terminalId)); |
nothing calls this directly
no test coverage detected