diff options
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r-- | widgets/aerc.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go index b7071e1a..4c8d09df 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -43,7 +43,7 @@ func NewAerc(conf *config.AercConfig, logger *log.Logger, cmd func(cmd []string) error, complete func(cmd string) []string, cmdHistory lib.History) *Aerc { - tabs := ui.NewTabs() + tabs := ui.NewTabs(&conf.Ui) statusbar := ui.NewStack() statusline := NewStatusLine() @@ -321,6 +321,14 @@ func (aerc *Aerc) MoveTab(i int) { aerc.tabs.MoveTab(i) } +func (aerc *Aerc) PinTab() { + aerc.tabs.PinTab() +} + +func (aerc *Aerc) UnpinTab() { + aerc.tabs.UnpinTab() +} + func (aerc *Aerc) NextTab() { aerc.tabs.NextTab() } |