Files
moby/vendor/github.com/containerd/console
Tibor Vass effa24bf48 vendor buildkit to fix a couple of bugs
Signed-off-by: Tibor Vass <tibor@docker.com>
2018-09-04 15:17:40 +00: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
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)