mirror of
https://github.com/junegunn/fzf.git
synced 2025-12-09 06:04:50 +08:00
Update src/options.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1217,7 +1217,7 @@ func parseKeyChords(str string, message string) (map[tui.Event]string, []tui.Eve
|
|||||||
default:
|
default:
|
||||||
runes := []rune(key)
|
runes := []rune(key)
|
||||||
if len(key) == 10 && strings.HasPrefix(lkey, "ctrl-alt-") && isAlphabet(lkey[9]) {
|
if len(key) == 10 && strings.HasPrefix(lkey, "ctrl-alt-") && isAlphabet(lkey[9]) {
|
||||||
r := rune(key[9])
|
r := rune(lkey[9])
|
||||||
evt := tui.CtrlAltKey(r)
|
evt := tui.CtrlAltKey(r)
|
||||||
if r == 'h' && !util.IsWindows() {
|
if r == 'h' && !util.IsWindows() {
|
||||||
evt = tui.CtrlAltBackspace.AsEvent()
|
evt = tui.CtrlAltBackspace.AsEvent()
|
||||||
|
|||||||
Reference in New Issue
Block a user