summaryrefslogtreecommitdiffstats
path: root/runtime/ui/components/dive_application.go
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ui/components/dive_application.go')
-rw-r--r--runtime/ui/components/dive_application.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/ui/components/dive_application.go b/runtime/ui/components/dive_application.go
index 8f129b3..01e8f5d 100644
--- a/runtime/ui/components/dive_application.go
+++ b/runtime/ui/components/dive_application.go
@@ -12,7 +12,6 @@ type DiveApplication struct {
boundList []BoundView
- // todo remove this
bindings []KeyBinding
}
@@ -28,7 +27,7 @@ func (d *DiveApplication) GetKeyBindings() []KeyBindingDisplay {
for i := 0; i < len(d.bindings); i++ {
binding := d.bindings[i]
logrus.Debug(fmt.Sprintf("adding keybinding with name %s", binding.Display))
- result = append(result, KeyBindingDisplay{KeyBinding: &binding, Selected: false})
+ result = append(result, KeyBindingDisplay{KeyBinding: &binding, Selected: AlwaysFalse, Hide: AlwaysFalse})
}
for _, bound := range d.boundList {