Increased the silly

This commit is contained in:
Sasha Koshka 2023-01-17 20:30:58 -05:00
parent 5e3dfeaadd
commit 1fee6ab9e6

View File

@ -2,6 +2,7 @@ package main
import "time"
import "git.tebibyte.media/sashakoshka/tomo"
import "git.tebibyte.media/sashakoshka/tomo/popups"
import "git.tebibyte.media/sashakoshka/tomo/layouts"
import "git.tebibyte.media/sashakoshka/tomo/elements/basic"
import _ "git.tebibyte.media/sashakoshka/tomo/backends/x"
@ -30,11 +31,16 @@ func run () {
}
func fill (bar *basic.ProgressBar) {
println("-")
for progress := 0.0; progress < 1.0; progress += 0.01 {
time.Sleep(time.Second / 24)
tomo.Do (func () {
bar.SetProgress(progress)
})
}
tomo.Do (func () {
popups.NewDialog (
popups.DialogKindInfo,
"I am here",
"Don't look outside your window.")
})
}