moby/vendor/github.com/containerd/console
Paweł Gronowski 31545c3b67
vendor: github.com/moby/buildkit v0.13.0-rc2
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-02-27 11:26:07 +01:00
..
.golangci.yml vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
console.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
console_linux.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
console_other.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
console_unix.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
console_windows.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
LICENSE bump containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f 2019-04-27 16:04:44 -07:00
pty_freebsd_cgo.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
pty_freebsd_nocgo.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
pty_unix.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
pty_zos.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
README.md vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01: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/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
tc_freebsd_nocgo.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01: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 vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
tc_openbsd_nocgo.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
tc_unix.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01:00
tc_zos.go vendor: github.com/moby/buildkit v0.13.0-rc2 2024-02-27 11:26:07 +01: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.