about summary refs log tree commit diff stats
path: root/widgets/tabhost.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-17 16:19:15 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-17 16:19:15 -0400
commit589db742cb2af4b29607ceba62ceca38ec982f62 (patch)
tree0975f74796cb809cd1bd8d04ee0c7a052a45f3f5 /widgets/tabhost.go
parent9e28a02f6a4345ec7b5fdee68864610186f34e91 (diff)
downloadaerc-589db742cb2af4b29607ceba62ceca38ec982f62.tar.gz
Move exline handling up to aerc, add :term
Diffstat (limited to 'widgets/tabhost.go')
-rw-r--r--widgets/tabhost.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/widgets/tabhost.go b/widgets/tabhost.go
new file mode 100644
index 0000000..7c502cb
--- /dev/null
+++ b/widgets/tabhost.go
@@ -0,0 +1,11 @@
+package widgets
+
+import (
+	"time"
+)
+
+type TabHost interface {
+	BeginExCommand()
+	SetStatus(status string) *StatusMessage
+	PushStatus(text string, expiry time.Duration) *StatusMessage
+}