Files
docker-cli/components/engine/vendor/github.com/containerd/console
Tonis Tiigi 3c2cc200c2 vendor: update containerd to b41633746
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: f0e61582664d16c5a608c3a742cc12b6b006bca6
Component: engine
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)