From 98e7ec090509f089a3196848c324fdce2fb462fc Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 26 Mar 2022 15:02:32 +1100 Subject: add type alias for Key --- pkg/gui/types/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/gui/types/context.go') diff --git a/pkg/gui/types/context.go b/pkg/gui/types/context.go index 1f7d753e7..6f026fe73 100644 --- a/pkg/gui/types/context.go +++ b/pkg/gui/types/context.go @@ -97,7 +97,7 @@ type OnFocusOpts struct { type ContextKey string type KeybindingsOpts struct { - GetKey func(key string) interface{} + GetKey func(key string) Key Config config.KeybindingConfig Guards KeybindingGuards } -- cgit v1.2.3