summaryrefslogtreecommitdiff
path: root/widgets/spinner.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/spinner.go')
-rw-r--r--widgets/spinner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/spinner.go b/widgets/spinner.go
index 812fb2c..bafc712 100644
--- a/widgets/spinner.go
+++ b/widgets/spinner.go
@@ -73,7 +73,7 @@ func (s *Spinner) IsRunning() bool {
func (s *Spinner) Draw(ctx *ui.Context) {
if !s.IsRunning() {
- return
+ s.Start()
}
ctx.Fill(0, 0, ctx.Width(), ctx.Height(), ' ', tcell.StyleDefault)