From a8797c72617b3ace7ce7c1c0eab469497e40b774 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 10 Mar 2024 10:58:19 +0100 Subject: 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. --- pkg/gui/types/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/gui/types/context.go') 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() } -- cgit v1.2.3