MCPcopy Create free account
hub / github.com/continuedev/continue / handleArrowKeys

Method handleArrowKeys

extensions/cli/src/ui/TextBuffer.ts:480–490  ·  view source on GitHub ↗
(key: Key)

Source from the content-addressed store, hash-verified

478 }
479
480 private handleArrowKeys(key: Key): boolean {
481 if (key.leftArrow && !key.meta) {
482 this.moveLeft();
483 return true;
484 }
485 if (key.rightArrow && !key.meta) {
486 this.moveRight();
487 return true;
488 }
489 return false;
490 }
491
492 private handleDeleteKeys(key: Key): boolean {
493 // On Mac, backspace key registers as key.delete, so treat it as backward deletion

Callers 1

handleSpecialKeysMethod · 0.95

Calls 2

moveLeftMethod · 0.95
moveRightMethod · 0.95

Tested by

no test coverage detected