66ff12e5f7
* vendor: bump libcontainer and docker to remove Sirupsen imports * vendor: fix bad vendoring of archive package * vendor: fix api changes to cgroups in executor * vendor: fix docker api changes * vendor: update github.com/Azure/go-ansiterm to use non capitalized logrus import
18 lines
392 B
Markdown
18 lines
392 B
Markdown
# console
|
|
|
|
[![Build Status](https://travis-ci.org/containerd/console.svg?branch=master)](https://travis-ci.org/containerd/console)
|
|
|
|
Golang package for dealing with consoles. Light on deps and a simple API.
|
|
|
|
## Modifying the current process
|
|
|
|
```go
|
|
current := console.Current()
|
|
defer current.Reset()
|
|
|
|
if err := current.SetRaw(); err != nil {
|
|
}
|
|
ws, err := current.Size()
|
|
current.Resize(ws)
|
|
```
|