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
Sebastiaan van Stijn 4680836f80
vendor: github.com/containerd/console v1.0.1
full diff: https://github.com/containerd/console/compare/v1.0.0...v1.0.1

Fixes compatibility with current versions of golang.org/x/sys

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-20 23:04:02 +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.1 2020-10-20 23:04:02 +02:00
console_windows.go vendor containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09:00
go.mod vendor: github.com/containerd/console v1.0.1 2020-10-20 23:04:02 +02: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 vendor: github.com/containerd/console v1.0.1 2020-10-20 23:04:02 +02:00
tc_freebsd.go
tc_linux.go vendor: github.com/containerd/console v1.0.1 2020-10-20 23:04:02 +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
tc_openbsd_nocgo.go
tc_solaris_cgo.go
tc_solaris_nocgo.go
tc_unix.go vendor: github.com/containerd/console v1.0.1 2020-10-20 23:04:02 +02: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.