diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-06-03 12:12:32 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-03 12:54:14 +1000 |
commit | b8bee4de5158a6f285127eff018c442bf45ae970 (patch) | |
tree | 04f5a1fc634e7d8e5cf02f653e47e4d9c23113c5 /pkg/gui/types | |
parent | d67b209e62f8254d5f17ecdb8fe7ff810f000566 (diff) |
Scroll to top when filtering and retain selection when cancelling filter
Diffstat (limited to 'pkg/gui/types')
-rw-r--r-- | pkg/gui/types/context.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/types/context.go b/pkg/gui/types/context.go index 9da9ad2b1..dca5b042c 100644 --- a/pkg/gui/types/context.go +++ b/pkg/gui/types/context.go @@ -89,6 +89,7 @@ type Context interface { type IFilterableContext interface { Context + IListPanelState SetFilter(string) GetFilter() string |