diff options
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 +} |