1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/vendor/github.com/containerd/console
Akihiro Suda 9a82a9a8ea vendor containerd, BuildKit, protobuf, grpc, and golang.org/x
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-03-03 10:25:20 +09:00
..
console.go vendor containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09: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 containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09:00
console_windows.go vendor containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09:00
go.mod vendor containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09:00
LICENSE bump containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f 2019-04-27 16:04:44 -07:00
README.md bump containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f 2019-04-27 16:04:44 -07:00
tc_darwin.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_freebsd.go Update containerd to 1.1 2018-06-04 15:37:03 -07:00
tc_linux.go Update containerd to 1.1 2018-06-04 15:37:03 -07: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 Update containerd to 1.1 2018-06-04 15:37:03 -07: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.