moby--moby/vendor/github.com/containerd/console
Akihiro Suda b79dec8138
vendor: github.com/opencontainers/runc v1.1.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-02-06 17:16:23 +09:00
..
.golangci.yml vendor: regenerate 2022-01-18 15:46:04 +01:00
LICENSE bump containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f 2019-04-27 16:04:44 -07:00
README.md vendor: github.com/containerd/console v1.0.2 2021-04-12 15:31:21 +02:00
console.go vendor: github.com/containerd/console v1.0.1 2020-10-20 23:04:02 +02:00
console_linux.go vendor containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09:00
console_unix.go vendor: github.com/containerd/console v1.0.2 2021-04-12 15:31:21 +02:00
console_windows.go vendor: github.com/opencontainers/runc v1.1.0 2022-02-06 17:16:23 +09:00
console_zos.go vendor: github.com/opencontainers/runc v1.1.0 2022-02-06 17:16:23 +09:00
pty_freebsd_cgo.go vendor: github.com/containerd/console v1.0.2 2021-04-12 15:31:21 +02:00
pty_freebsd_nocgo.go vendor: github.com/containerd/console v1.0.2 2021-04-12 15:31:21 +02:00
pty_unix.go vendor: github.com/containerd/console v1.0.2 2021-04-12 15:31:21 +02:00
tc_darwin.go vendor: github.com/containerd/console v1.0.1 2020-10-20 23:04:02 +02:00
tc_freebsd_cgo.go vendor: github.com/containerd/console v1.0.2 2021-04-12 15:31:21 +02:00
tc_freebsd_nocgo.go vendor: github.com/containerd/console v1.0.2 2021-04-12 15:31:21 +02:00
tc_linux.go vendor: github.com/containerd/console v1.0.2 2021-04-12 15:31:21 +02:00
tc_netbsd.go vendor: github.com/containerd/console v1.0.1 2020-10-20 23:04:02 +02:00
tc_openbsd_cgo.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_openbsd_nocgo.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_solaris_cgo.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_solaris_nocgo.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_unix.go vendor: github.com/opencontainers/runc v1.1.0 2022-02-06 17:16:23 +09:00
tc_zos.go vendor: github.com/opencontainers/runc v1.1.0 2022-02-06 17:16:23 +09:00

README.md

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.