aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/tabhost.go
blob: 28c9be020a2c851bb5d4aa42f7da843fe9a1e3b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package widgets

import (
	"time"
)

type TabHost interface {
	BeginExCommand(cmd string)
	SetStatus(status string) *StatusMessage
	SetError(err string) *StatusMessage
	PushStatus(text string, expiry time.Duration) *StatusMessage
	PushError(text string) *StatusMessage
	PushSuccess(text string) *StatusMessage
	Beep()
}