Files
docker-cli/components/engine/vendor/github.com/containerd/console
Tonis Tiigi 9a81ad55fc vendor: update containerd to 63522d9
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: 44f3dd7653a1c5739d2c25d1227d945d9c686c86
Component: engine
2018-06-08 19:19:06 -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)