summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Bütow <1224732+snonux@users.noreply.github.com>2025-06-20 22:42:24 +0300
committerGitHub <noreply@github.com>2025-06-20 22:42:24 +0300
commitb66aac7051a906c31386f40e1714bcab6f72eae6 (patch)
tree9b3b1b54193fabf62aa46fb29907b330a9ff096d /internal
parent07e53d017555eafa2ae2174297cc61e9960bf870 (diff)
parent0837db08d4c0085b1e00bb4b9c29ab7570021027 (diff)
Merge pull request #59 from snonux/codex/change---hotkey-to-alias-search
Change help and search keys
Diffstat (limited to 'internal')
-rw-r--r--internal/ui/table.go6
1 files changed, 3 insertions, 3 deletions
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,