open-nomad/vendor/github.com/containerd/console
Yoan Blanc 379bb0589e
vendor: update containerd/console
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-20 08:27:10 +01:00
..
console.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
console_linux.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
console_unix.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
console_windows.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
go.mod vendor: update containerd/console 2020-03-20 08:27:10 +01:00
go.sum vendor: update containerd/console 2020-03-20 08:27:10 +01:00
LICENSE vendor: update containerd/console 2020-03-20 08:27:10 +01:00
README.md vendor: update containerd/console 2020-03-20 08:27:10 +01:00
tc_darwin.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
tc_freebsd.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
tc_linux.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
tc_openbsd_cgo.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
tc_openbsd_nocgo.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
tc_solaris_cgo.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
tc_solaris_nocgo.go vendor: update containerd/console 2020-03-20 08:27:10 +01:00
tc_unix.go vendor: update containerd/console 2020-03-20 08:27:10 +01: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)

Project details

console is a containerd sub-project, licensed under the Apache 2.0 license. As a containerd sub-project, you will find the:

information in our containerd/project repository.