kubernetes/vendor/github.com/containerd/console
vikaschoudhary16 4711bccd05 Bump runc to d5b4a3e
This fixes a race condition in runc/systemd at container creation time
opencontainers/runc#1683

Signed-off-by: vikaschoudhary16 <vichoudh@redhat.com>
2018-01-12 14:22:50 -05:00
..
.travis.yml Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
BUILD Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
console_linux.go Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
console_unix.go Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
console_windows.go Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
console.go Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
LICENSE Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
README.md Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
tc_darwin.go Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
tc_freebsd.go Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
tc_linux.go Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
tc_solaris_cgo.go Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
tc_solaris_nocgo.go Bump runc to d5b4a3e 2018-01-12 14:22:50 -05:00
tc_unix.go Bump runc to d5b4a3e 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)