summaryrefslogtreecommitdiffstats
path: root/pkg/gui/types
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-07-16 14:37:49 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-07-30 18:35:22 +1000
commitab3052f6423c8b94ac2ecd0eab394e17ea20d8b5 (patch)
tree6940d3067e94b21f0f72cccfe9bf855a7be6048e /pkg/gui/types
parent53f4ccb8090707ae5318ead4d3283e309265dff5 (diff)
Land in the same panel when switching to a worktree
Diffstat (limited to 'pkg/gui/types')
-rw-r--r--pkg/gui/types/common.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/types/common.go b/pkg/gui/types/common.go
index b0944fb92..8be1c8697 100644
--- a/pkg/gui/types/common.go
+++ b/pkg/gui/types/common.go
@@ -66,6 +66,7 @@ type IGuiCommon interface {
IsCurrentContext(Context) bool
// TODO: replace the above context-based methods with just using Context() e.g. replace PushContext() with Context().Push()
Context() IContextMgr
+ ContextForKey(key ContextKey) Context
ActivateContext(context Context) error