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

Method moveWordForwards

packages/pi-tui/src/components/input.ts:356–360  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

354 }
355
356 private moveWordForwards(): void {
357 if (this.cursor >= this.value.length) return;
358 this.lastAction = null;
359 this.cursor = findWordForward(this.value, this.cursor);
360 }
361
362 private handlePaste(pastedText: string): void {
363 this.lastAction = null;

Callers 2

handleInputMethod · 0.95
deleteWordForwardMethod · 0.95

Calls 1

findWordForwardFunction · 0.90

Tested by

no test coverage detected