Files
docker-cli/components/engine/vendor/github.com/containerd/console
Tibor Vass 90b4f8c14c vendor buildkit to fix a couple of bugs
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit effa24bf48170f141cd9e1c1fcb5d39aedf1ca74)
Signed-off-by: Tibor Vass <tibor@docker.com>
Upstream-commit: 4c35d811471b80eec10476050b1222b653e6c5d9
Component: engine
2018-09-04 15:52:24 +00: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)