summaryrefslogtreecommitdiffstats
path: root/pkg/gui/types
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2024-01-15 20:12:53 +1100
committerJesse Duffield <jessedduffield@gmail.com>2024-01-19 10:50:49 +1100
commit1ea0c270df13f30d2e74cea7ec78ea3a62df1d82 (patch)
tree59a6fd0ae0af5228c556ac876316b9a7923ab03d /pkg/gui/types
parent51fb82d6bf26153f294477883a1b2abd592441f9 (diff)
Disable range-select in menu and suggestions view
We don't need it there so no need to enable it. I'm leaving the disabled reason checks there, even though they're now redundant, because they're only one-liners and they communicate intent.
Diffstat (limited to 'pkg/gui/types')
-rw-r--r--pkg/gui/types/context.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/types/context.go b/pkg/gui/types/context.go
index a3f0ad24a..860a49588 100644
--- a/pkg/gui/types/context.go
+++ b/pkg/gui/types/context.go
@@ -144,6 +144,7 @@ type IListContext interface {
FocusLine()
IsListContext() // used for type switch
+ RangeSelectEnabled() bool
}
type IPatchExplorerContext interface {