summaryrefslogtreecommitdiffstats
path: root/pkg/gui/types/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/types/common.go')
-rw-r--r--pkg/gui/types/common.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/gui/types/common.go b/pkg/gui/types/common.go
index 5bc0e5856..156d8ae8f 100644
--- a/pkg/gui/types/common.go
+++ b/pkg/gui/types/common.go
@@ -37,6 +37,8 @@ type IGuiCommon interface {
PushContext(context Context, opts ...OnFocusOpts) error
PopContext() error
CurrentContext() Context
+ CurrentStaticContext() Context
+ IsCurrentContext(Context) bool
// enters search mode for the current view
OpenSearch()
@@ -162,7 +164,7 @@ type Mutexes struct {
RefreshingStatusMutex *sync.Mutex
SyncMutex *sync.Mutex
LocalCommitsMutex *sync.Mutex
- LineByLinePanelMutex *sync.Mutex
SubprocessMutex *sync.Mutex
PopupMutex *sync.Mutex
+ PtyMutex *sync.Mutex
}