Skip to content

Instantly share code, notes, and snippets.

@caelifer
Created October 3, 2016 12:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caelifer/52e071b2cd345a3ec6b658ff61745349 to your computer and use it in GitHub Desktop.
Save caelifer/52e071b2cd345a3ec6b658ff61745349 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"time"
)
func main() {
// marks := []rune{0x25F7, 0x25F6, 0x25F5, 0x25F4}
// marks := []rune{0x25CB, 0x25D4, 0x25D1, 0x25D5, 0x25CF, 0x25C9, 0x25CE}
// marks := []rune{0x25AB, 0x25C7}
// marks := []rune{0x25A0, 0x25A3, 0x25A1, 0x25A3}
// marks := []rune{0x25F7, 0x25F6, 0x25F5, 0x25F4}
marks := []rune{0x25E2, 0x25E3, 0x25E4, 0x25E5}
for i := 0; i < 50; i++ {
fmt.Printf("\r[%c]", marks[i%len(marks)])
time.Sleep(300 * time.Millisecond)
}
fmt.Println("\r \r")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment