From 7056ef80ab91b31d695c8abc2cdce2e76f14bc31 Mon Sep 17 00:00:00 2001 From: Dmitry Gureev Date: Mon, 6 Jul 2026 11:21:55 +0300 Subject: [PATCH] fix(tui): add ctrl+h as backspace alias for herdr/ConPTY compatibility Inside herdr (Windows ConPTY multiplexer), physical Backspace arrives as 0x08 (ctrl+h / VT100 BS control character) rather than 0x7f. Adding ctrl+h to input_backspace makes Backspace work in herdr without conflicting with ctrl+backspace which is already bound to input_delete_word_backward. Fixes #34878 --- packages/tui/src/config/keybind.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tui/src/config/keybind.ts b/packages/tui/src/config/keybind.ts index 5dd7e4b5aafe..2c21fb325e2d 100644 --- a/packages/tui/src/config/keybind.ts +++ b/packages/tui/src/config/keybind.ts @@ -185,7 +185,7 @@ export const Definitions = { input_delete_line: keybind("ctrl+shift+d", "Delete line in input"), input_delete_to_line_end: keybind("ctrl+k", "Delete to end of line in input"), input_delete_to_line_start: keybind("ctrl+u", "Delete to start of line in input"), - input_backspace: keybind("backspace,shift+backspace", "Backspace in input"), + input_backspace: keybind("backspace,shift+backspace,ctrl+h", "Backspace in input"), input_delete: keybind("ctrl+d,delete,shift+delete", "Delete character in input"), input_undo: keybind("ctrl+-,super+z", "Undo in input"), input_redo: keybind("ctrl+.,super+shift+z", "Redo in input"),