containerd/vendor/github.com/containerd/console
Kazuyoshi Kato 040babe003 Vendor dependencies with module graph pruning
The empty-mod hack no longer works with Go 1.18.

This commit fixes #6586.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
2022-03-18 16:49:09 +00:00
..
.golangci.yml Go mod vendor 2020-12-01 01:41:25 +08:00
console_linux.go Update containerd/console vendor for fix 2019-12-20 11:33:11 -05:00
console_unix.go go.mod: github.com/containerd/console v1.0.2 2021-04-12 15:58:08 +09:00
console_windows.go bump console version to v1.0.3 that remove pkg/errors 2021-09-21 08:39:12 +08:00
console_zos.go bump console version to v1.0.3 that remove pkg/errors 2021-09-21 08:39:12 +08:00
console.go vendor: containerd/console v1.0.1 2020-09-24 23:34:18 +02:00
LICENSE bump containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f 2019-04-18 19:45:38 +02:00
pty_freebsd_cgo.go go.mod: github.com/containerd/console v1.0.2 2021-04-12 15:58:08 +09:00
pty_freebsd_nocgo.go go.mod: github.com/containerd/console v1.0.2 2021-04-12 15:58:08 +09:00
pty_unix.go go.mod: github.com/containerd/console v1.0.2 2021-04-12 15:58:08 +09:00
README.md go.mod: github.com/containerd/console v1.0.2 2021-04-12 15:58:08 +09:00
tc_darwin.go vendor: containerd/console v1.0.1 2020-09-24 23:34:18 +02:00
tc_freebsd_cgo.go go.mod: github.com/containerd/console v1.0.2 2021-04-12 15:58:08 +09:00
tc_freebsd_nocgo.go go.mod: github.com/containerd/console v1.0.2 2021-04-12 15:58:08 +09:00
tc_linux.go go.mod: github.com/containerd/console v1.0.2 2021-04-12 15:58:08 +09:00
tc_netbsd.go vendor: containerd/console v1.0.1 2020-09-24 23:34:18 +02:00
tc_openbsd_cgo.go Update containerd deps 2018-03-08 13:57:30 -05:00
tc_openbsd_nocgo.go Update containerd deps 2018-03-08 13:57:30 -05:00
tc_solaris_cgo.go Update containerd deps 2018-03-08 13:57:30 -05:00
tc_solaris_nocgo.go Update containerd deps 2018-03-08 13:57:30 -05:00
tc_unix.go bump console version to v1.0.3 that remove pkg/errors 2021-09-21 08:39:12 +08:00
tc_zos.go bump console version to v1.0.3 that remove pkg/errors 2021-09-21 08:39:12 +08: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.