main.go 227 B

1234567891011121314
  1. package main
  2. import (
  3. "fmt"
  4. "os"
  5. . "github.com/mattn/go-colorable"
  6. )
  7. func main() {
  8. out := NewColorableStdout()
  9. fmt.Fprint(out, "\x1B]0;TITLE Changed\007(See title and hit any key)")
  10. var c [1]byte
  11. os.Stdin.Read(c[:])
  12. }