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

Method restoreInputText

apps/kimi-code/src/tui/kimi-tui.ts:2604–2609  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

2602 }
2603
2604 restoreInputText(text: string): void {
2605 this.restoreEditor();
2606 this.state.editor.setText(text);
2607 this.updateEditorBorderHighlight(text);
2608 this.state.ui.requestRender();
2609 }
2610
2611 private async runMigrationScreen(plan: MigrationPlan): Promise<MigrationScreenResult> {
2612 const result = await new Promise<MigrationScreenResult>((resolve) => {

Callers

nothing calls this directly

Calls 4

restoreEditorMethod · 0.95
setTextMethod · 0.65
requestRenderMethod · 0.65

Tested by

no test coverage detected