summaryrefslogtreecommitdiff
path: root/internal/tui/common
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-25 08:43:15 +0200
committerPaul Buetow <paul@buetow.org>2026-02-25 08:43:15 +0200
commitd423225771a10ebae87d22c69fe88e5b65a3d378 (patch)
tree9f701073be1e53ff06d89eb7c55f5b58b8aba1d3 /internal/tui/common
parent1a6e71ac31353167ec4c614d45e8e06de411a8f9 (diff)
Integrate Stream tab into dashboard and TUI
Diffstat (limited to 'internal/tui/common')
-rw-r--r--internal/tui/common/keys.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/tui/common/keys.go b/internal/tui/common/keys.go
index 805a74a..1abf214 100644
--- a/internal/tui/common/keys.go
+++ b/internal/tui/common/keys.go
@@ -12,6 +12,7 @@ type KeyMap struct {
Four key.Binding
Five key.Binding
Six key.Binding
+ Seven key.Binding
Export key.Binding
Quit key.Binding
Help key.Binding
@@ -34,6 +35,7 @@ func DefaultKeyMap() KeyMap {
Four: key.NewBinding(key.WithKeys("4"), key.WithHelp("4", "processes")),
Five: key.NewBinding(key.WithKeys("5"), key.WithHelp("5", "latency")),
Six: key.NewBinding(key.WithKeys("6"), key.WithHelp("6", "gaps")),
+ Seven: key.NewBinding(key.WithKeys("7"), key.WithHelp("7", "stream")),
Export: key.NewBinding(key.WithKeys("e"), key.WithHelp("e", "export")),
Quit: key.NewBinding(key.WithKeys("q", "ctrl+c"), key.WithHelp("q", "quit")),
Help: key.NewBinding(key.WithKeys("?"), key.WithHelp("?", "help")),
@@ -62,7 +64,7 @@ func (k KeyMap) DashboardFullHelp() [][]key.Binding {
controls = append(controls, k.Refresh, k.Help, k.Quit)
return [][]key.Binding{
- {k.One, k.Two, k.Three, k.Four, k.Five, k.Six},
+ {k.One, k.Two, k.Three, k.Four, k.Five, k.Six, k.Seven},
controls,
{
helpTextBinding("left/right", "tab"),