Files
kubernetes/vendor/github.com/containerd/console
zhouhaibing089 ce22036808 dep: upgrade k8s.io/utils
update the dependency of k8s.io/utils so we can have CommandContext
in exec package.
2018-05-02 01:23:21 -07:00
..
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -05:00
2018-01-12 14:22:50 -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)