tree: 3638de3fa5bd354a0aa5991fa25d456089782086 [path history] [tgz]
  1. .golangci.yml
  2. console.go
  3. console_linux.go
  4. console_other.go
  5. console_unix.go
  6. console_windows.go
  7. LICENSE
  8. pty_freebsd_cgo.go
  9. pty_freebsd_nocgo.go
  10. pty_unix.go
  11. pty_zos.go
  12. README.md
  13. tc_darwin.go
  14. tc_freebsd_cgo.go
  15. tc_freebsd_nocgo.go
  16. tc_linux.go
  17. tc_netbsd.go
  18. tc_openbsd_cgo.go
  19. tc_openbsd_nocgo.go
  20. tc_unix.go
  21. tc_zos.go
vendor/github.com/containerd/console/README.md

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.