k3s/vendor/github.com/containerd/console
Darren Shepherd 661988fb38 Update vendor 2019-09-27 16:54:32 -07:00
..
.travis.yml Update vendor 2019-09-27 16:54:32 -07:00
LICENSE Update vendor 2019-09-27 16:54:32 -07:00
README.md Update vendor 2019-09-27 16:54:32 -07:00
console.go
console_linux.go
console_unix.go
console_windows.go
tc_darwin.go
tc_freebsd.go
tc_linux.go
tc_openbsd_cgo.go
tc_openbsd_nocgo.go
tc_solaris_cgo.go
tc_solaris_nocgo.go
tc_unix.go

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)

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.