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

Method handleOptionKey

extensions/cli/src/ui/TextBuffer.ts:417–424  ·  view source on GitHub ↗
(sequence: string)

Source from the content-addressed store, hash-verified

415 }
416
417 private handleOptionKey(sequence: string): boolean {
418 // Option + backspace (usually \u001b\u0008 or \u001b\u007f)
419 if (sequence === "\u0008" || sequence === "\u007f") {
420 this.deleteWordBackward();
421 return true;
422 }
423 return true; // Consume other option sequences
424 }
425
426 private handleCtrlKey(input: string): boolean {
427 switch (input) {

Callers 1

handleSpecialKeysMethod · 0.95

Calls 1

deleteWordBackwardMethod · 0.95

Tested by

no test coverage detected