Fix bug preventing 'ctrl-h' from being bound to an action

Fix #4556
This commit is contained in:
Junegunn Choi
2025-10-15 12:16:09 +09:00
parent 8cdfb23df6
commit a0cabe021d
4 changed files with 68 additions and 73 deletions
+1 -3
View File
@@ -371,12 +371,10 @@ func (r *FullscreenRenderer) GetChar() Event {
}
case rune(tcell.KeyCtrlH):
switch {
case ctrl:
case ctrl, none, shift:
return keyfn('h')
case alt:
return Event{AltBackspace, 0, nil}
case none, shift:
return Event{Backspace, 0, nil}
}
}
case tcell.KeyCtrlI: