summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bütow <1224732+snonux@users.noreply.github.com>2025-06-20 22:49:01 +0300
committerGitHub <noreply@github.com>2025-06-20 22:49:01 +0300
commit7f9b5545a48866390f6a8d7ab7b7bf93215b721f (patch)
tree9bf886c567d87d2b30f6c50b279838ad4ead0dc2
parent6a8198237706c47013c68f1036a307001f77cfa5 (diff)
parentbc1fc549c25a301aa7df5baaa249daa4f59eac27 (diff)
Merge pull request #62 from snonux/codex/add-esc-hotkey-for-help-screen
Add ESC hotkey alias for exiting help and search
-rw-r--r--internal/ui/table_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ui/table_test.go b/internal/ui/table_test.go
index d120337..d7ee19d 100644
--- a/internal/ui/table_test.go
+++ b/internal/ui/table_test.go
@@ -470,7 +470,7 @@ func TestEscClosesHelp(t *testing.T) {
t.Fatalf("New: %v", err)
}
- mv, _ := m.Update(tea.KeyMsg{Type: tea.KeyRunes, Runes: []rune{'?'}})
+ mv, _ := m.Update(tea.KeyMsg{Type: tea.KeyRunes, Runes: []rune{'h'}})
m = mv.(Model)
if !m.showHelp {
t.Fatalf("help not shown")