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

Method buildLayout

apps/kimi-code/src/tui/kimi-tui.ts:886–896  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

884 }
885
886 private buildLayout(): void {
887 const { ui } = this.state;
888 ui.clear();
889 ui.addChild(this.state.transcriptContainer);
890 ui.addChild(this.state.activityContainer);
891 ui.addChild(this.state.todoPanelContainer);
892 ui.addChild(this.state.queueContainer);
893 ui.addChild(this.state.btwPanelContainer);
894 ui.addChild(this.state.editorContainer);
895 // Footer is mounted later (mountFooter), not here.
896 }
897
898 // Footer is the only chrome with content before a session is ready, so
899 // mounting it at construction lets a stray pre-start render leak it to the

Callers 1

constructorMethod · 0.95

Calls 2

clearMethod · 0.65
addChildMethod · 0.45

Tested by

no test coverage detected