Files
containerd/vendor/github.com/containerd/console
Daniel Dao de2671b7f5 bump vendor for containerd/console update
Signed-off-by: Daniel Dao <dqminh89@gmail.com>
2017-07-28 12:23:49 +01:00
..
2017-05-24 17:38:24 +01:00
2017-05-24 17:38:24 +01:00
2017-05-24 17:38:24 +01:00
2017-05-24 17:38:24 +01:00
2017-07-10 11:05:51 -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)