1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/vendor/github.com/containerd/console
Kenfe-Mickael Laventure 7acea2a243
Vendor containerd 1.0
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-10-19 13:19:41 -07:00
..
console.go Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
console_linux.go Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
console_unix.go Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
console_windows.go Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
LICENSE Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
README.md Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
tc_darwin.go Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
tc_freebsd.go Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
tc_linux.go Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
tc_solaris_cgo.go Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
tc_solaris_nocgo.go Vendor containerd 1.0 2017-10-19 13:19:41 -07:00
tc_unix.go Vendor containerd 1.0 2017-10-19 13:19:41 -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)