mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-09-16 09:16:26 +02:00
Add menu prompt
This makes it possible to add a prompt to a menu. It will be shown above the menu items, separated from them by a blank line.
This commit is contained in:
@@ -159,6 +159,7 @@ const (
|
||||
|
||||
type CreateMenuOptions struct {
|
||||
Title string
|
||||
Prompt string // a message that will be displayed above the menu options
|
||||
Items []*MenuItem
|
||||
HideCancel bool
|
||||
ColumnAlignment []utils.Alignment
|
||||
|
Reference in New Issue
Block a user