summaryrefslogtreecommitdiffstats
path: root/pkg/gui/types
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-03-19 09:31:52 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-19 12:12:57 +1100
commitd93fef4c61db20dd9e2bb535c2fbb742cdbed60a (patch)
tree0e065ab7f334ea44b4597a79f6f8e36a018f2a15 /pkg/gui/types
parent4b56d428ffda44cf433d7cfdd83ea99417ec3e86 (diff)
use generics to DRY up context code
Diffstat (limited to 'pkg/gui/types')
-rw-r--r--pkg/gui/types/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/types/context.go b/pkg/gui/types/context.go
index 5e588da0d..bf56cf5db 100644
--- a/pkg/gui/types/context.go
+++ b/pkg/gui/types/context.go
@@ -109,7 +109,7 @@ type IController interface {
type IList interface {
IListCursor
- GetItemsLength() int
+ Len() int
}
type IListCursor interface {