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, 4 insertions, 0 deletions
diff --git a/pkg/gui/types/common.go b/pkg/gui/types/common.go
index 9c13dcd67..650aa51eb 100644
--- a/pkg/gui/types/common.go
+++ b/pkg/gui/types/common.go
@@ -27,7 +27,11 @@ type IGuiCommon interface {
PostRefreshUpdate(Context) error
// this just re-renders the screen
Render()
+
+ // returns true if command completed successfully
+ RunSubprocess(cmdObj oscommands.ICmdObj) (bool, error)
RunSubprocessAndRefresh(oscommands.ICmdObj) error
+
PushContext(context Context, opts ...OnFocusOpts) error
PopContext() error
CurrentContext() Context