Files
docker-cli/components/engine/vendor/github.com/containerd/console
Sebastiaan van Stijn 5bc239fe16 bump containerd/console to 2748ece16665b45a47f884001d5831ec79703880
Fix runc exec on big-endian, causing:

    container_linux.go:265: starting container process caused "open /dev/pts/4294967296: no such file or directory"

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit aab5eaddccb8cb196fdb1e285890dfa94a071b14)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-03-05 23:56:22 +01:00
..
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00
2017-10-19 13:19:41 -07:00

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)