Skip to content

Instantly share code, notes, and snippets.

@moul
Created May 23, 2016 13:34
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 moul/da774bc8036bbf17378ce0f6336ee560 to your computer and use it in GitHub Desktop.
Save moul/da774bc8036bbf17378ce0f6336ee560 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"time"
)
func main() {
maxLength := 100
tube := "======================================================================================================="
for i := 0; ; i++ {
fmt.Printf("\033]0;8%sD\007", tube[0:i%maxLength])
time.Sleep(time.Millisecond * 10)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment