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

Method handleInputModeChange

apps/kimi-code/src/tui/kimi-tui.ts:917–920  ·  view source on GitHub ↗
(mode: 'prompt' | 'bash')

Source from the content-addressed store, hash-verified

915 }
916
917 handleInputModeChange(mode: 'prompt' | 'bash'): void {
918 this.setAppState({ inputMode: mode });
919 this.updateEditorBorderHighlight();
920 }
921
922 handleUserInput(text: string): void {
923 const wasBashMode = this.state.appState.inputMode === 'bash';

Callers 1

handleUserInputMethod · 0.95

Calls 2

setAppStateMethod · 0.95

Tested by

no test coverage detected