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
..
console_unix.go Update go-runc and console 2017-05-24 17:38:24 +01:00
console_windows.go Update deps after move to containerd org 2017-05-10 16:51:48 -07:00
console.go Update deps after move to containerd org 2017-05-10 16:51:48 -07:00
LICENSE Update go-runc and console 2017-05-24 17:38:24 +01:00
README.md Update go-runc and console 2017-05-24 17:38:24 +01:00
tc_darwin.go Update go-runc and console 2017-05-24 17:38:24 +01:00
tc_freebsd.go Update go-runc and console 2017-05-24 17:38:24 +01:00
tc_linux.go Update go-runc and console 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)