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

Function handleEditorCommand

apps/kimi-code/src/tui/commands/config.ts:191–198  ·  view source on GitHub ↗
(host: SlashCommandHost, args: string)

Source from the content-addressed store, hash-verified

189}
190
191export async function handleEditorCommand(host: SlashCommandHost, args: string): Promise<void> {
192 const command = args.trim();
193 if (command.length === 0) {
194 showEditorPicker(host);
195 return;
196 }
197 await applyEditorChoice(host, command);
198}
199
200export async function handleThemeCommand(host: SlashCommandHost, args: string): Promise<void> {
201 const theme = args.trim();

Callers 1

Calls 2

showEditorPickerFunction · 0.85
applyEditorChoiceFunction · 0.85

Tested by

no test coverage detected