mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
b9cc6409f4
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> |
||
---|---|---|
.. | ||
.golangci.yml | ||
console_linux.go | ||
console_unix.go | ||
console_windows.go | ||
console.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
pty_freebsd_cgo.go | ||
pty_freebsd_nocgo.go | ||
pty_unix.go | ||
README.md | ||
tc_darwin.go | ||
tc_freebsd_cgo.go | ||
tc_freebsd_nocgo.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 |
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.