mirror of https://github.com/docker/buildx.git
full diff: https://github.com/containerd/console/compare/v1.0.3...8f6c4e4faef5a326d2cd907097d04c0239ee5e2f Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| .golangci.yml | ||
| LICENSE | ||
| README.md | ||
| console.go | ||
| console_linux.go | ||
| console_other.go | ||
| console_unix.go | ||
| console_windows.go | ||
| pty_freebsd_cgo.go | ||
| pty_freebsd_nocgo.go | ||
| pty_unix.go | ||
| pty_zos.go | ||
| tc_darwin.go | ||
| tc_freebsd_cgo.go | ||
| tc_freebsd_nocgo.go | ||
| tc_linux.go | ||
| tc_netbsd.go | ||
| tc_openbsd_cgo.go | ||
| tc_openbsd_nocgo.go | ||
| tc_unix.go | ||
| tc_zos.go | ||
README.md
console
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.