open-nomad/vendor/github.com/containerd/console
Seth Hoenig 435c0d9fc8 deps: Switch to Go modules for dependency management
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
..
.travis.yml deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05: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.