MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / terminalResize

Method terminalResize

apps/kimi-web/src/api/daemon/ws.ts:216–223  ·  view source on GitHub ↗
(sessionId: string, terminalId: string, cols: number, rows: number)

Source from the content-addressed store, hash-verified

214 }
215
216 terminalResize(sessionId: string, terminalId: string, cols: number, rows: number): void {
217 if (!this.connected || !this.ws) return;
218 this.send({
219 type: 'terminal_resize',
220 id: this.nextId(),
221 payload: { session_id: sessionId, terminal_id: terminalId, cols, rows },
222 });
223 }
224
225 terminalDetach(sessionId: string, terminalId: string): void {
226 this.terminalAttachments.delete(terminalKey(sessionId, terminalId));

Callers

nothing calls this directly

Calls 2

sendMethod · 0.95
nextIdMethod · 0.95

Tested by

no test coverage detected