tree: f69aae46db19046e43b413b9605abefe66fa9fa4 [path history] [tgz]
  1. .golangci.yml
  2. console.go
  3. console_linux.go
  4. console_unix.go
  5. console_windows.go
  6. console_zos.go
  7. LICENSE
  8. pty_freebsd_cgo.go
  9. pty_freebsd_nocgo.go
  10. pty_unix.go
  11. README.md
  12. tc_darwin.go
  13. tc_freebsd_cgo.go
  14. tc_freebsd_nocgo.go
  15. tc_linux.go
  16. tc_netbsd.go
  17. tc_openbsd_cgo.go
  18. tc_openbsd_nocgo.go
  19. tc_solaris_cgo.go
  20. tc_solaris_nocgo.go
  21. tc_unix.go
  22. 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.