Files
containerd/vendor/github.com/containerd/console
Sebastiaan van Stijn 77a26427c3 update containerd/console to fix race: lock Cond before Signal
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-07-06 17:26:22 +02:00
..
2018-03-08 13:57:30 -05:00
2018-03-08 13:57:30 -05:00
2017-05-24 17:38:24 +01:00
2017-05-24 17:38:24 +01:00
2018-03-08 13:57:30 -05:00
2018-03-08 13:57:30 -05:00
2018-03-08 13:57:30 -05:00
2018-03-08 13:57:30 -05:00
2018-03-08 13:57:30 -05:00
2018-03-08 13:57:30 -05:00
2018-03-08 13:57:30 -05:00
2018-03-08 13:57:30 -05: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)