Sign in
apache
/
mynewt-documentation
/
94c47ae2bc67c54a68d227abbb47c27ae97cc232
/
.
/
versions
/
v1_4_0
/
mynewt-newtmgr
/
vendor
/
github.com
/
mattn
/
go-colorable
/
_example
/
title
/
main.go
blob: e208870e779f8d6f5188e74a26a9af033621b635 [
file
] [
log
] [
blame
]
package main
import (
"fmt"
"os"
. "github.com/mattn/go-colorable"
)
func main() {
out := NewColorableStdout()
fmt.Fprint(out, "\x1B]0;TITLE Changed\007(See title and hit any key)")
var c [1]byte
os.Stdin.Read(c[:])
}