Closed yudppp closed 8 years ago
Hi,
this code doesn't work properly.
s := spin.New() s.Frames = []rune(`|/-\`) // <- this for i := 0; i < 30; i++ { fmt.Printf("\r \033[36mcomputing\033[m %s ", s.Next()) time.Sleep(100 * time.Millisecond) }
Because Frames don't need to use global variable.
Frames
Hi,
this code doesn't work properly.
Because
Frames
don't need to use global variable.