Merge pull request #1180 from Tyriar/1179_alt_backspace

Allow alt+backspace to delete a word
This commit is contained in:
Daniel Imms
2018-01-05 10:55:57 -08:00
committed by GitHub
+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;