m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-12-07 09:44:07 -05:00

Distinguish between Ctrl-H and Ctrl-Backspace in Windows (#4590)

Since you can actually distinguish between Ctrl-H and Ctrl-Backspace in Windows we need to reintroduce the tui.CtrlH constant. On *nix systems we map all Ctrl(-Alt)-h to Ctrl(-Alt)-Backspace internally, but you can use either in --bind.
This commit is contained in:
Massimo Mund
2025-11-16 12:00:24 +01:00
committed by GitHub
parent 2471edf3ff
commit c3e6d9a8f9
4 changed files with 90 additions and 83 deletions

View File

@@ -43,7 +43,7 @@ const (
CtrlE
CtrlF
CtrlG
CtrlBackspace
CtrlH
Tab
CtrlJ
CtrlK
@@ -137,6 +137,7 @@ const (
CtrlRight
CtrlHome
CtrlEnd
CtrlBackspace
CtrlDelete
CtrlPageUp
CtrlPageDown