aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 7f67162f43374188f619e571c6d614626a24127a
parent 5b2e3a0ca0b549c569ff6c01549c2dc425b0ba40
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 17 Feb 2018 19:43:44 -0500

Cycle tabs for demoy goodness

Diffstat:
Mcmd/aerc/main.go | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/cmd/aerc/main.go b/cmd/aerc/main.go @@ -76,8 +76,10 @@ func main() { defer _ui.Close() go (func() { - time.Sleep(1 * time.Second) - tabs.Select(1) + for { + time.Sleep(1 * time.Second) + tabs.Select((tabs.Selected + 1) % 2) + } })() for !_ui.Exit {