aboutsummaryrefslogblamecommitdiffstats
path: root/widgets/tabhost.go
blob: 1322a0aaa7cdbf402037539215b26fdec2b60803 (plain) (tree)
1
2
3
4
5
6
7
8
9






                        
                                  
                                               
                                           
                                                                    

                                                                     
              
 
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, expiry time.Duration) *StatusMessage
	PushSuccess(text string, expiry time.Duration) *StatusMessage
	Beep()
}