tree: b63532c654ee5e93239e3f58ac468f6b8961457f [path history] [tgz]
  1. console.go
  2. console_linux.go
  3. console_unix.go
  4. console_windows.go
  5. LICENSE
  6. README.md
  7. tc_darwin.go
  8. tc_freebsd.go
  9. tc_linux.go
  10. tc_openbsd_cgo.go
  11. tc_openbsd_nocgo.go
  12. tc_solaris_cgo.go
  13. tc_solaris_nocgo.go
  14. tc_unix.go
vendor/github.com/containerd/console/README.md

console

Build Status

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.