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

Method moveToLineEnd

packages/pi-tui/src/components/editor.ts:1581–1585  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1579 }
1580
1581 private moveToLineEnd(): void {
1582 this.lastAction = null;
1583 const currentLine = this.state.lines[this.state.cursorLine] || "";
1584 this.setCursorCol(currentLine.length);
1585 }
1586
1587 private deleteToStartOfLine(): void {
1588 this.exitHistoryBrowsing();

Callers 1

handleInputMethod · 0.95

Calls 1

setCursorColMethod · 0.95

Tested by

no test coverage detected