k3s/vendor/github.com/containerd/console/README.md
Darren Shepherd fa08d6076c Update vendor
2019-01-11 21:58:27 -07:00

392 B

console

Build Status

Golang package for dealing with consoles. Light on deps and a simple API.

Modifying the current process

current := console.Current()
defer current.Reset()

if err := current.SetRaw(); err != nil {
}
ws, err := current.Size()
current.Resize(ws)