diff options
Diffstat (limited to 'app/tabhost.go')
-rw-r--r-- | app/tabhost.go | 15 |
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() +} |