himitsu/vendor/github.com/containerd/console
2024-12-23 12:16:30 +01:00
..
.golangci.yml feat: go mod vendor 2024-12-23 12:16:30 +01:00
console_linux.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
console_unix.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
console_windows.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
console.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
LICENSE feat: go mod vendor 2024-12-23 12:16:30 +01:00
pty_freebsd_cgo.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
pty_freebsd_nocgo.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
pty_unix.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
pty_zos.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
README.md feat: go mod vendor 2024-12-23 12:16:30 +01:00
tc_darwin.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
tc_freebsd_cgo.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
tc_freebsd_nocgo.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
tc_linux.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
tc_netbsd.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
tc_openbsd_cgo.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
tc_openbsd_nocgo.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
tc_unix.go feat: go mod vendor 2024-12-23 12:16:30 +01:00
tc_zos.go feat: go mod vendor 2024-12-23 12:16:30 +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.