mirror of https://github.com/docker/cli.git
1f4beebd7e
full diff: https://github.com/containerd/console/compare/v1.0.0...v1.0.1 Fixes compatibility with current versions of golang.org/x/sys Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
LICENSE | ||
README.md | ||
console.go | ||
console_linux.go | ||
console_unix.go | ||
console_windows.go | ||
go.mod | ||
tc_darwin.go | ||
tc_freebsd.go | ||
tc_linux.go | ||
tc_netbsd.go | ||
tc_openbsd_cgo.go | ||
tc_openbsd_nocgo.go | ||
tc_solaris_cgo.go | ||
tc_solaris_nocgo.go | ||
tc_unix.go |
README.md
console
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.