k3s/vendor/github.com/containerd/console
Brad Davidson b352d73511 Bump containerd to v1.4.8-k3s1
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-20 15:44:06 -07:00
..
.golangci.yml Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
console_linux.go
console_unix.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
console_windows.go
console.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
go.mod Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
go.sum Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
LICENSE
pty_freebsd_cgo.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
pty_freebsd_nocgo.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
pty_unix.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
README.md Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
tc_darwin.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
tc_freebsd_cgo.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
tc_freebsd_nocgo.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
tc_linux.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
tc_netbsd.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00
tc_openbsd_cgo.go
tc_openbsd_nocgo.go
tc_solaris_cgo.go
tc_solaris_nocgo.go
tc_unix.go Bump containerd to v1.4.8-k3s1 2021-07-20 15:44:06 -07:00

console

PkgGoDev Build Status Go Report Card

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.