|
|
il y a 2 ans | |
|---|---|---|
| .. | ||
| .golangci.yml | il y a 2 ans | |
| LICENSE | il y a 2 ans | |
| README.md | il y a 2 ans | |
| console.go | il y a 2 ans | |
| console_linux.go | il y a 2 ans | |
| console_unix.go | il y a 2 ans | |
| console_windows.go | il y a 2 ans | |
| pty_freebsd_cgo.go | il y a 2 ans | |
| pty_freebsd_nocgo.go | il y a 2 ans | |
| pty_unix.go | il y a 2 ans | |
| pty_zos.go | il y a 2 ans | |
| tc_darwin.go | il y a 2 ans | |
| tc_freebsd_cgo.go | il y a 2 ans | |
| tc_freebsd_nocgo.go | il y a 2 ans | |
| tc_linux.go | il y a 2 ans | |
| tc_netbsd.go | il y a 2 ans | |
| tc_openbsd_cgo.go | il y a 2 ans | |
| tc_openbsd_nocgo.go | il y a 2 ans | |
| tc_unix.go | il y a 2 ans | |
| tc_zos.go | il y a 2 ans | |
Golang package for dealing with consoles. Light on deps and a simple API.
current := console.Current()
defer current.Reset()
if err := current.SetRaw(); err != nil {
}
ws, err := current.Size()
current.Resize(ws)
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.