diff options
author | Joe <rbo@gmx.us> | 2024-05-10 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-10 20:20:20 +0200 |
commit | cd0fc6ff5daa6f59d542b9bfa15a8a48792c1d6e (patch) | |
tree | 06dcabb740969ecc63b4d06957144bbc9ebb4163 /src/e_keys.go | |
parent | i know very well it aint right but hey cut me some slack ok im doing myy best... (diff) | |
download | hardflip-cd0fc6ff5daa6f59d542b9bfa15a8a48792c1d6e.tar.gz hardflip-cd0fc6ff5daa6f59d542b9bfa15a8a48792c1d6e.tar.bz2 hardflip-cd0fc6ff5daa6f59d542b9bfa15a8a48792c1d6e.tar.xz hardflip-cd0fc6ff5daa6f59d542b9bfa15a8a48792c1d6e.tar.zst hardflip-cd0fc6ff5daa6f59d542b9bfa15a8a48792c1d6e.zip |
new mode ok
Diffstat (limited to 'src/e_keys.go')
-rw-r--r-- | src/e_keys.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/e_keys.go b/src/e_keys.go index 667ba3d..28cc628 100644 --- a/src/e_keys.go +++ b/src/e_keys.go @@ -246,6 +246,8 @@ func e_normal_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { data.litems.curr.is_dir() == false { ui.mode = RENAME_MODE ui.buff = data.litems.curr.Host.Name + } else if event.Rune() == '?' { + ui.mode = HELP_MODE } return false } @@ -829,3 +831,7 @@ func e_rename_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { ui.buff = "" return false } + +func e_help_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { + return false +} |