diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-03 12:57:11 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 12:57:11 +1000 |
commit | 1a36cb9f3fbcf07353b8ae73e8b055d2e0e1d794 (patch) | |
tree | f486f588c72676322c341cb9aae209a02cbf9c61 /pkg/gui/types/common.go | |
parent | 2be4359e87bee6c737e19b02e4c7896fbc2ebf91 (diff) | |
parent | 5d982e1d70aa9a07645a5665130f2e499b7b56c8 (diff) |
View filtering (#2680)
Diffstat (limited to 'pkg/gui/types/common.go')
-rw-r--r-- | pkg/gui/types/common.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/gui/types/common.go b/pkg/gui/types/common.go index 3709d3c7b..09ab040f2 100644 --- a/pkg/gui/types/common.go +++ b/pkg/gui/types/common.go @@ -68,8 +68,6 @@ type IGuiCommon interface { Context() IContextMgr ActivateContext(context Context) error - // enters search mode for the current view - OpenSearch() GetConfig() config.AppConfigurer GetAppState() *config.AppState @@ -251,7 +249,8 @@ type IRepoStateAccessor interface { SetCurrentPopupOpts(*CreatePopupPanelOpts) GetScreenMode() WindowMaximisation SetScreenMode(WindowMaximisation) - IsSearching() bool + InSearchPrompt() bool + GetSearchState() *SearchState SetSplitMainPanel(bool) GetSplitMainPanel() bool } |