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

Method start

packages/pi-tui/src/tui.ts:645–657  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

643 }
644
645 start(): void {
646 this.stopped = false;
647 this.terminal.start(
648 (data) => this.handleInput(data),
649 () => this.requestRender(),
650 );
651 this.terminal.hideCursor();
652 if (this.terminalColorSchemeNotificationsEnabled) {
653 this.terminal.write("\x1b[?2031h");
654 }
655 this.queryCellSize();
656 this.requestRender();
657 }
658
659 addInputListener(listener: InputListener): () => void {
660 this.inputListeners.add(listener);

Callers 2

mainFunction · 0.95
createHarnessFunction · 0.95

Calls 6

handleInputMethod · 0.95
requestRenderMethod · 0.95
queryCellSizeMethod · 0.95
startMethod · 0.65
hideCursorMethod · 0.65
writeMethod · 0.65

Tested by

no test coverage detected