aboutsummaryrefslogtreecommitdiffstats
path: root/src/e_keys.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-05-13 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-05-13 20:20:20 +0200
commit85c5875689e91a8c7888f11217b9fe94e2d9fa71 (patch)
treeac82cb7fad3b822772c1625974e2268a03c6f48f /src/e_keys.go
parentqwe (diff)
downloadhardflip-85c5875689e91a8c7888f11217b9fe94e2d9fa71.tar.gz
hardflip-85c5875689e91a8c7888f11217b9fe94e2d9fa71.tar.bz2
hardflip-85c5875689e91a8c7888f11217b9fe94e2d9fa71.tar.xz
hardflip-85c5875689e91a8c7888f11217b9fe94e2d9fa71.tar.zst
hardflip-85c5875689e91a8c7888f11217b9fe94e2d9fa71.zip
go
Diffstat (limited to '')
-rw-r--r--src/e_keys.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/e_keys.go b/src/e_keys.go
index af19547..f995e0a 100644
--- a/src/e_keys.go
+++ b/src/e_keys.go
@@ -835,7 +835,8 @@ func e_rename_events(data *HardData, ui *HardUI, event tcell.EventKey) bool {
func e_help_events(data *HardData, ui *HardUI, event tcell.EventKey) bool {
if event.Key() == tcell.KeyEscape ||
event.Key() == tcell.KeyCtrlC ||
- event.Rune() == 'q' {
+ event.Rune() == 'q' ||
+ event.Rune() == '?' {
ui.mode = NORMAL_MODE
ui.help_scroll = 0
return true