mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
fix hidden suggestions
This commit is contained in:
parent
2e7b935bfb
commit
e4e04cfa8f
2 changed files with 10 additions and 6 deletions
|
@ -34,6 +34,7 @@ func NewSuggestionsContext(
|
||||||
Key: SUGGESTIONS_CONTEXT_KEY,
|
Key: SUGGESTIONS_CONTEXT_KEY,
|
||||||
Kind: types.PERSISTENT_POPUP,
|
Kind: types.PERSISTENT_POPUP,
|
||||||
Focusable: true,
|
Focusable: true,
|
||||||
|
HasUncontrolledBounds: true,
|
||||||
}), ContextCallbackOpts{
|
}), ContextCallbackOpts{
|
||||||
OnFocus: onFocus,
|
OnFocus: onFocus,
|
||||||
OnFocusLost: onFocusLost,
|
OnFocusLost: onFocusLost,
|
||||||
|
|
|
@ -270,7 +270,10 @@ func (gui *Gui) suggestionsListContext() *context.SuggestionsContext {
|
||||||
},
|
},
|
||||||
nil,
|
nil,
|
||||||
nil,
|
nil,
|
||||||
nil,
|
func(types.OnFocusLostOpts) error {
|
||||||
|
gui.deactivateConfirmationPrompt()
|
||||||
|
return nil
|
||||||
|
},
|
||||||
gui.c,
|
gui.c,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue