diff options
author | joe <rbo@gmx.us> | 2025-08-26 19:39:43 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-08-26 19:39:56 +0200 |
commit | 9dba169925b0dad326552420128ca2106dab1716 (patch) | |
tree | 69e06d88a48499ab55e9e6dc5b484f37865ca392 /src/e_keys.go | |
parent | fixed all errs and some other things (diff) | |
download | hardflip-9dba169925b0dad326552420128ca2106dab1716.tar.gz hardflip-9dba169925b0dad326552420128ca2106dab1716.tar.bz2 hardflip-9dba169925b0dad326552420128ca2106dab1716.tar.xz hardflip-9dba169925b0dad326552420128ca2106dab1716.tar.zst hardflip-9dba169925b0dad326552420128ca2106dab1716.zip |
k
Diffstat (limited to '')
-rw-r--r-- | src/e_keys.go | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/e_keys.go b/src/e_keys.go index 4fb0acc..fa3ca9c 100644 --- a/src/e_keys.go +++ b/src/e_keys.go @@ -250,7 +250,7 @@ func e_normal_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { } else if (event.Rune() == '/' || event.Key() == tcell.KeyCtrlF) && data.litems.curr != nil { - // ui.mode = FUZZ_MODE + c_fuzz(data) // TODO: fzf here } else if event.Rune() == '?' { ui.mode = HELP_MODE @@ -884,19 +884,3 @@ func e_help_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { } return false } - -func e_fuzz_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { - if event.Key() == tcell.KeyEscape || - event.Key() == tcell.KeyCtrlC { - ui.s.HideCursor() - ui.mode = NORMAL_MODE - ui.buff.empty() - return true - } else if event.Key() == tcell.KeyEnter { - ui.s.HideCursor() - ui.mode = NORMAL_MODE - ui.buff.empty() - } else { - } - return false -} |