moby--moby/vendor/github.com/containerd/console
Tibor Vass effa24bf48 vendor buildkit to fix a couple of bugs
Signed-off-by: Tibor Vass <tibor@docker.com>
2018-09-04 15:17:40 +00:00
..
LICENSE
README.md
console.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
console_linux.go vendor: update containerd to b41633746 2018-07-06 14:43:49 -07:00
console_unix.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
console_windows.go vendor buildkit to fix a couple of bugs 2018-09-04 15:17:40 +00:00
tc_darwin.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_freebsd.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_linux.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_openbsd_cgo.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_openbsd_nocgo.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_solaris_cgo.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_solaris_nocgo.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_unix.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00

README.md

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)