You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
284 B

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