Cycle tabs for demoy goodness
This commit is contained in:
parent
5b2e3a0ca0
commit
7f67162f43
1 changed files with 4 additions and 2 deletions
|
@ -76,8 +76,10 @@ func main() {
|
|||
defer _ui.Close()
|
||||
|
||||
go (func() {
|
||||
for {
|
||||
time.Sleep(1 * time.Second)
|
||||
tabs.Select(1)
|
||||
tabs.Select((tabs.Selected + 1) % 2)
|
||||
}
|
||||
})()
|
||||
|
||||
for !_ui.Exit {
|
||||
|
|
Loading…
Reference in a new issue