1 package main 2 3 import ( 4 "bufio" 5 "fmt" 6 7 "github.com/mattn/go-colorable" 8 ) 9 10 func main() { 11 stdOut := bufio.NewWriter(colorable.NewColorableStdout()) 12 13 fmt.Fprint(stdOut, "\x1B[3GMove to 3rd Column\n") 14 fmt.Fprint(stdOut, "\x1B[1;2HMove to 2nd Column on 1st Line\n") 15 stdOut.Flush() 16 } 17