Cycle tabs for demoy goodness
This commit is contained in:
parent
5b2e3a0ca0
commit
7f67162f43
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue