Files
containerd/vendor/github.com/containerd/console
Justin Cormack a413d3ed0d Update go-runc and console
This removes need for cgo in both of these, and updates licenses.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-24 17:38:24 +01:00
..
2017-05-24 17:38:24 +01:00
2017-05-24 17:38:24 +01:00
2017-05-24 17:38:24 +01:00
2017-05-24 17:38:24 +01:00
2017-05-24 17:38:24 +01:00
2017-05-24 17:38:24 +01:00

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)