Cycle tabs for demoy goodness

This commit is contained in:
Drew DeVault 2018-02-17 19:43:44 -05:00
parent 5b2e3a0ca0
commit 7f67162f43
1 changed files with 4 additions and 2 deletions

View File

@ -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 {