diff options
Diffstat (limited to 'pkg/gui/context/suggestions_context.go')
-rw-r--r-- | pkg/gui/context/suggestions_context.go | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/pkg/gui/context/suggestions_context.go b/pkg/gui/context/suggestions_context.go index 4be86244a..346492e0c 100644 --- a/pkg/gui/context/suggestions_context.go +++ b/pkg/gui/context/suggestions_context.go @@ -17,10 +17,6 @@ func NewSuggestionsContext( view *gocui.View, getDisplayStrings func(startIdx int, length int) [][]string, - onFocus func(types.OnFocusOpts) error, - onRenderToMain func() error, - onFocusLost func(opts types.OnFocusLostOpts) error, - c *types.HelperCommon, ) *SuggestionsContext { viewModel := NewBasicViewModel(getModel) @@ -35,11 +31,7 @@ func NewSuggestionsContext( Kind: types.PERSISTENT_POPUP, Focusable: true, HasUncontrolledBounds: true, - }), ContextCallbackOpts{ - OnFocus: onFocus, - OnFocusLost: onFocusLost, - OnRenderToMain: onRenderToMain, - }), + }), ContextCallbackOpts{}), list: viewModel, getDisplayStrings: getDisplayStrings, c: c, |