gocc/ansi_seq.go

12 lines
150 B
Go
Raw Normal View History

2022-08-17 18:16:21 +02:00
package main
import "os"
func clearEOL() {
os.Stdout.Write([]byte{0x1b, 0x5b, 0x4b})
}
func goUp() {
os.Stdout.Write([]byte{0x1b, 0x5b, 0x41})
}