File: main.go

package info (click to toggle)
golang-github-mattn-go-colorable 0.1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, experimental, sid, trixie
  • size: 148 kB
  • sloc: sh: 9; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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[:])
}