diff options
-rw-r--r-- | cmd/aerc/main.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/aerc/main.go b/cmd/aerc/main.go index 7a273b8f..22960145 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 { |