aboutsummaryrefslogtreecommitdiffstats
path: root/commands/help.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/help.go')
-rw-r--r--commands/help.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/help.go b/commands/help.go
index 3d71e5b3..079b2fd5 100644
--- a/commands/help.go
+++ b/commands/help.go
@@ -59,7 +59,7 @@ func (h *Help) ParseTopic(arg string) error {
func (h Help) Execute(args []string) error {
if h.Topic == "aerc-keys" {
- app.AddDialog(app.NewDialog(
+ app.AddDialog(app.DefaultDialog(
app.NewListBox(
"Bindings: Press <Esc> or <Enter> to close. "+
"Start typing to filter bindings.",
@@ -69,8 +69,6 @@ func (h Help) Execute(args []string) error {
app.CloseDialog()
},
),
- func(h int) int { return h / 4 },
- func(h int) int { return h / 2 },
))
return nil
}