From 3322418728faaeb2070053ea37595d5aad8f37ba Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Sun, 24 Jul 2022 17:45:14 -0700 Subject: [PATCH] Remove shift+backspace -> ^H binding This has been there since the first commit of term.js, it's not clear why it's there but Terminal.app, iTerm2 and kitty seem to just do a regular backspace Fixes #3759 --- src/common/input/Keyboard.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/input/Keyboard.ts b/src/common/input/Keyboard.ts index 0481ad99..013a7711 100644 --- a/src/common/input/Keyboard.ts +++ b/src/common/input/Keyboard.ts @@ -83,10 +83,7 @@ export function evaluateKeyboardEvent( break; case 8: // backspace - if (ev.shiftKey) { - result.key = C0.BS; // ^H - break; - } else if (ev.altKey) { + if (ev.altKey) { result.key = C0.ESC + C0.DEL; // \e ^? break; }