summaryrefslogtreecommitdiff
path: root/internal/tui/common
diff options
context:
space:
mode:
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"),