aboutsummaryrefslogtreecommitdiffstats
path: root/app/tabhost.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/tabhost.go')
-rw-r--r--app/tabhost.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/tabhost.go b/app/tabhost.go
new file mode 100644
index 00000000..9a206084
--- /dev/null
+++ b/app/tabhost.go
@@ -0,0 +1,15 @@
+package app
+
+import (
+ "time"
+)
+
+type TabHost interface {
+ BeginExCommand(cmd string)
+ UpdateStatus()
+ SetError(err string)
+ PushStatus(text string, expiry time.Duration) *StatusMessage
+ PushError(text string) *StatusMessage
+ PushSuccess(text string) *StatusMessage
+ Beep()
+}