From 0837db08d4c0085b1e00bb4b9c29ab7570021027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= <1224732+snonux@users.noreply.github.com> Date: Fri, 20 Jun 2025 22:42:03 +0300 Subject: Change ? hotkey to search, h to help --- internal/ui/table.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal') diff --git a/internal/ui/table.go b/internal/ui/table.go index 7cde4c0..db89bf3 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -269,7 +269,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { return m, cmd } switch msg.String() { - case "?": + case "h": m.showHelp = true return m, nil case "q": @@ -380,7 +380,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { return m, nil } } - case "/": + case "/", "?": m.searching = true m.searchInput.SetValue("") m.searchInput.Focus() @@ -428,7 +428,7 @@ func (m Model) View() string { "A: replace annotations", "p: set priority", "q: quit", - "?: help", // show help toggle line + "h: help", // show help toggle line ) } view := lipgloss.JoinVertical(lipgloss.Left, -- cgit v1.2.3