aboutsummaryrefslogtreecommitdiffstats
path: root/commands/menu.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/menu.go')
-rw-r--r--commands/menu.go10
1 files changed, 1 insertions, 9 deletions
diff --git a/commands/menu.go b/commands/menu.go
index 953c6b45..908a354c 100644
--- a/commands/menu.go
+++ b/commands/menu.go
@@ -131,16 +131,8 @@ func (m Menu) Execute([]string) error {
title := " :" + strings.TrimLeft(m.Xargs, ": \t") + " ... "
- app.AddDialog(app.NewDialog(
+ app.AddDialog(app.DefaultDialog(
ui.NewBox(term, title, "", app.SelectedAccountUiConfig()),
- // start pos on screen
- func(h int) int {
- return h / 4
- },
- // dialog height
- func(h int) int {
- return h / 2
- },
))
}