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.
This might break compatibility with projects using this module that
are still on go1.16, which is EOL, so probably ok to ignore:
github.com/docker/buildx/store imports
github.com/gofrs/flock tested by
github.com/gofrs/flock.test imports
gopkg.in/check.v1 loaded from gopkg.in/check.v1@v1.0.0-20200227125254-8fa46927fb4f,
but go 1.16 would select v1.0.0-20201130134442-10cb98267c6c
To upgrade to the versions selected by go 1.16:
go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
go mod tidy -compat=1.17
For other options, see:
https://golang.org/doc/modules/pruning
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
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 | |
| 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.