Files
moby/vendor/github.com/containerd/console
Tonis Tiigi f0e6158266 vendor: update containerd to b41633746
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-06 14:43:49 -07:00
..
2018-06-04 15:37:03 -07:00
2018-06-04 15:37:03 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2018-06-04 15:37:03 -07:00
2018-06-04 15:37:03 -07:00
2018-06-04 15:37:03 -07:00
2018-06-04 15:37:03 -07:00
2018-06-04 15:37:03 -07:00
2018-06-04 15:37:03 -07:00
2018-06-04 15:37:03 -07:00
2018-06-04 15:37:03 -07: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)