summaryrefslogtreecommitdiff
path: root/internal/tui/common
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-24 17:16:17 +0200
committerPaul Buetow <paul@buetow.org>2026-02-24 17:16:17 +0200
commit2ae0b33c9f196634eaa55bd6997d1feae9147385 (patch)
treeea4e0e705c693e44f29924014431186af635b7e5 /internal/tui/common
parent92114c3b6bfe8a3d28487fcfb34fd291c573500c (diff)
tui: improve dashboard tab navigation and live updates
Diffstat (limited to 'internal/tui/common')
-rw-r--r--internal/tui/common/keys.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/tui/common/keys.go b/internal/tui/common/keys.go
index a7ded71..0f9c54d 100644
--- a/internal/tui/common/keys.go
+++ b/internal/tui/common/keys.go
@@ -54,6 +54,8 @@ func (k KeyMap) DashboardFullHelp() [][]key.Binding {
{k.One, k.Two, k.Three, k.Four, k.Five, k.Six},
{k.Tab, k.ShiftTab, k.Export, k.Refresh, k.Help, k.Quit},
{
+ key.NewBinding(key.WithKeys("left/right"), key.WithHelp("left/right", "tab")),
+ key.NewBinding(key.WithKeys("h/l"), key.WithHelp("h/l", "tab")),
key.NewBinding(key.WithKeys("j/k"), key.WithHelp("j/k", "scroll")),
key.NewBinding(key.WithKeys("up/down"), key.WithHelp("up/down", "scroll")),
},