You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package main
|
|
|
|
import (
|
|
"bufio"
|
|
"fmt"
|
|
|
|
"github.com/mattn/go-colorable"
|
|
)
|
|
|
|
func main() {
|
|
stdOut := bufio.NewWriter(colorable.NewColorableStdout())
|
|
|
|
fmt.Fprint(stdOut, "\x1B[3GMove to 3rd Column\n")
|
|
fmt.Fprint(stdOut, "\x1B[1;2HMove to 2nd Column on 1st Line\n")
|
|
stdOut.Flush()
|
|
}
|