luet/vendor/github.com/containerd/console
2021-01-22 16:54:19 +01:00
..
.travis.yml Update gomod and vendor 2021-01-22 16:54:19 +01:00
console_linux.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
console_unix.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
console_windows.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
console.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
go.mod Update gomod and vendor 2021-01-22 16:54:19 +01:00
go.sum Update gomod and vendor 2021-01-22 16:54:19 +01:00
LICENSE Update gomod and vendor 2021-01-22 16:54:19 +01:00
README.md Update gomod and vendor 2021-01-22 16:54:19 +01:00
tc_darwin.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
tc_freebsd.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
tc_linux.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
tc_openbsd_cgo.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
tc_openbsd_nocgo.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
tc_solaris_cgo.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
tc_solaris_nocgo.go Update gomod and vendor 2021-01-22 16:54:19 +01:00
tc_unix.go Update gomod and vendor 2021-01-22 16:54:19 +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.