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

Method handleDeleteKeys

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

Source from the content-addressed store, hash-verified

490 }
491
492 private handleDeleteKeys(key: Key): boolean {
493 // On Mac, backspace key registers as key.delete, so treat it as backward deletion
494 if ((key.delete || key.backspace) && !key.meta) {
495 this.deleteBackward();
496 return true;
497 }
498 return false;
499 }
500
501 private handleSpecialKeys(input: string, key: Key): boolean {
502 // Detect option key combinations through escape sequences

Callers 1

handleSpecialKeysMethod · 0.95

Calls 1

deleteBackwardMethod · 0.95

Tested by

no test coverage detected