You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> |
4 years ago | |
|---|---|---|
| .. | ||
| .golangci.yml | 5 years ago | |
| LICENSE | 7 years ago | |
| README.md | 4 years ago | |
| console.go | 5 years ago | |
| console_linux.go | 6 years ago | |
| console_unix.go | 4 years ago | |
| console_windows.go | 4 years ago | |
| console_zos.go | 4 years ago | |
| go.mod | 4 years ago | |
| go.sum | 4 years ago | |
| pty_freebsd_cgo.go | 4 years ago | |
| pty_freebsd_nocgo.go | 4 years ago | |
| pty_unix.go | 4 years ago | |
| tc_darwin.go | 5 years ago | |
| tc_freebsd_cgo.go | 4 years ago | |
| tc_freebsd_nocgo.go | 4 years ago | |
| tc_linux.go | 4 years ago | |
| tc_netbsd.go | 5 years ago | |
| tc_openbsd_cgo.go | 7 years ago | |
| tc_openbsd_nocgo.go | 7 years ago | |
| tc_solaris_cgo.go | 7 years ago | |
| tc_solaris_nocgo.go | 7 years ago | |
| tc_unix.go | 4 years ago | |
| tc_zos.go | 4 years ago | |
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.