From 85c5875689e91a8c7888f11217b9fe94e2d9fa71 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 13 May 2024 20:20:20 +0200 Subject: go --- src/e_keys.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/e_keys.go') 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 -- cgit v1.2.3