kubernetes/vendor/github.com/containerd/console
Jordan Liggitt 4b45d0d921 Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94"
This reverts commit b1b06fe0a4, reversing
changes made to 382a33986b.
2021-05-18 09:13:47 -04:00
..
.golangci.yml vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
console_linux.go update vendor 2020-03-25 17:11:16 -04:00
console_unix.go Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94" 2021-05-18 09:13:47 -04:00
console_windows.go update vendor 2020-03-25 17:11:16 -04:00
console.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
go.mod Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94" 2021-05-18 09:13:47 -04:00
go.sum Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94" 2021-05-18 09:13:47 -04:00
LICENSE update vendor 2020-03-25 17:11:16 -04:00
README.md Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94" 2021-05-18 09:13:47 -04:00
tc_darwin.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
tc_freebsd.go Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94" 2021-05-18 09:13:47 -04:00
tc_linux.go Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94" 2021-05-18 09:13:47 -04:00
tc_netbsd.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08:00
tc_openbsd_cgo.go Updating dependency github.com/containerd/console to version v0.0.0-20180822173158-c12b1e7919c1 2020-03-25 12:01:19 -04:00
tc_openbsd_nocgo.go Updating dependency github.com/containerd/console to version v0.0.0-20180822173158-c12b1e7919c1 2020-03-25 12:01:19 -04:00
tc_solaris_cgo.go Updating dependency github.com/containerd/console to version v0.0.0-20180822173158-c12b1e7919c1 2020-03-25 12:01:19 -04:00
tc_solaris_nocgo.go Updating dependency github.com/containerd/console to version v0.0.0-20180822173158-c12b1e7919c1 2020-03-25 12:01:19 -04:00
tc_unix.go vendor: cadvisor v0.39.0 2021-03-08 22:10:29 -08: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.