summaryrefslogtreecommitdiff
path: root/widgets/tabhost.go
diff options
context:
space:
mode:
authorKalyan Sriram <coder.kalyan@gmail.com>2020-07-27 01:03:55 -0700
committerReto Brunner <reto@labrat.space>2020-08-06 21:42:06 +0200
commit905cb9dfd3ef197bb4b59039a1be76ce2c8e3099 (patch)
tree2d923c42ec224b1d525d942a7bb17416f4a62dd5 /widgets/tabhost.go
parent548a5fff68a648a5e0b6fd909e3c21463addc8af (diff)
downloadaerc-905cb9dfd3ef197bb4b59039a1be76ce2c8e3099.zip
Implement style configuration.
Introduce the ability to configure stylesets, allowing customization of aerc's look (color scheme, font weight, etc). Default styleset is installed to /path/to/aerc/stylesets/default.
Diffstat (limited to 'widgets/tabhost.go')
-rw-r--r--widgets/tabhost.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/tabhost.go b/widgets/tabhost.go
index 0ac67e5..28c9be0 100644
--- a/widgets/tabhost.go
+++ b/widgets/tabhost.go
@@ -7,6 +7,9 @@ import (
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()
}