Allow alt+backspace to delete a word

Fixes #1179
This commit is contained in:
Daniel Imms
2018-01-02 10:33:17 -08:00
parent 8c4e6b0e5b
commit 0819759814
+3
View File
@@ -1449,6 +1449,9 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT
if (ev.shiftKey) {
result.key = C0.BS; // ^H
break;
} else if (ev.altKey) {
result.key = C0.ESC + C0.DEL; // \e ^?
break;
}
result.key = C0.DEL; // ^?
break;