1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Directly send wrap argument rather than the view

This commit is contained in:
Jesse Duffield
2019-01-15 19:33:42 +11:00
parent a38d1a3b68
commit 695b092c41
3 changed files with 7 additions and 11 deletions

View File

@ -56,7 +56,7 @@ func (gui *Gui) createMenu(items interface{}, handlePress func(int) error) error
return err
}
x0, y0, x1, y1 := gui.getConfirmationPanelDimensions(gui.g, list)
x0, y0, x1, y1 := gui.getConfirmationPanelDimensions(gui.g, false, list)
menuView, _ := gui.g.SetView("menu", x0, y0, x1, y1, 0)
menuView.Title = strings.Title(gui.Tr.SLocalize("menu"))
menuView.FgColor = gocui.ColorWhite