(sequence: string)
| 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) { |
no test coverage detected