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

Method moveWordBackwards

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

Source from the content-addressed store, hash-verified

348 }
349
350 private moveWordBackwards(): void {
351 if (this.cursor === 0) return;
352 this.lastAction = null;
353 this.cursor = findWordBackward(this.value, this.cursor);
354 }
355
356 private moveWordForwards(): void {
357 if (this.cursor >= this.value.length) return;

Callers 2

handleInputMethod · 0.95
deleteWordBackwardsMethod · 0.95

Calls 1

findWordBackwardFunction · 0.90

Tested by

no test coverage detected