aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/aerc/main.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/aerc/main.go b/cmd/aerc/main.go
index 7a273b8..2296014 100644
--- 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 {