Skip to content

Commit 0e57c6d

Browse files
bagagepellouxprayer
authored andcommitted
Avoid conflicts between ctrl+h and backspace
1 parent 00ea07b commit 0e57c6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

suplemon/key_mappings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
curses.KEY_BACKSPACE: "backspace",
5454
"KEY_BACKSPACE": "backspace",
5555
"^?": "backspace",
56+
"^H": "backspace", # on Windows
5657

5758
curses.KEY_DC: "delete",
5859
curses.KEY_HOME: "home",
@@ -81,7 +82,7 @@
8182
"^E": "ctrl+e",
8283
"^F": "ctrl+f",
8384
"^G": "ctrl+g",
84-
"^H": "ctrl+h",
85+
# "^H": "ctrl+h", # Conflicts with 'backspace' on Windows
8586
# "^I": "ctrl+i", # Conflicts with 'tab'
8687
# "^J": "ctrl+j", # Conflicts with 'enter'
8788
"^K": "ctrl+k",

0 commit comments

Comments
 (0)