diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2024-03-10 10:58:19 +0100 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-03-17 11:55:09 +0100 |
commit | a8797c72617b3ace7ce7c1c0eab469497e40b774 (patch) | |
tree | 6370fb8baef8b90da53b5d3b366d83d9b4ee2c37 /pkg/gui/types/context.go | |
parent | a82e26d11e4c937c8ca2fdef92bb75ae912e7b44 (diff) |
Default to substring filtering, add option to go back to fuzzy filtering
By default we now search for substrings; you can search for multiple substrings
by separating them with spaces. Add a config option gui.filterMode that can be
set to 'fuzzy' to switch back to the previous behavior.
Diffstat (limited to 'pkg/gui/types/context.go')
-rw-r--r-- | pkg/gui/types/context.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/types/context.go b/pkg/gui/types/context.go index 92b07a729..bb57375f9 100644 --- a/pkg/gui/types/context.go +++ b/pkg/gui/types/context.go @@ -102,10 +102,10 @@ type IFilterableContext interface { IListPanelState ISearchHistoryContext - SetFilter(string) + SetFilter(string, bool) GetFilter() string ClearFilter() - ReApplyFilter() + ReApplyFilter(bool) IsFiltering() bool IsFilterableContext() } |