diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-06-03 16:10:53 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-03 12:54:14 +1000 |
commit | 261f30f49c552e3abe3bb7378208b0b355595c86 (patch) | |
tree | 80dc623b35dda5336c36942244d583b616dfbec1 /pkg/gui/context.go | |
parent | 7d7399a89f18fe58389ecdcd1f69f4494c6567e4 (diff) |
Add integration tests for searching/filtering
Diffstat (limited to 'pkg/gui/context.go')
-rw-r--r-- | pkg/gui/context.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/gui/context.go b/pkg/gui/context.go index fde888a1c..38e1212c7 100644 --- a/pkg/gui/context.go +++ b/pkg/gui/context.go @@ -201,7 +201,6 @@ func (self *ContextMgr) deactivateContext(c types.Context, opts types.OnFocusLos view, _ := self.gui.c.GocuiGui().View(c.GetViewName()) if opts.NewContextKey != context.SEARCH_CONTEXT_KEY { - self.gui.helpers.Search.HidePrompt() if c.GetKind() == types.MAIN_CONTEXT || c.GetKind() == types.TEMPORARY_POPUP { self.gui.helpers.Search.CancelSearchIfSearching(c) } @@ -235,7 +234,7 @@ func (self *ContextMgr) ActivateContext(c types.Context, opts types.OnFocusOpts) return err } - self.gui.helpers.Search.DisplaySearchStatusIfSearching(c) + self.gui.helpers.Search.RenderSearchStatus(c) desiredTitle := c.Title() if desiredTitle != "" { |