This brings in a fix for a cgroups setup race condition that we hit sometimes in the tests. Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
17 lines
392 B
Markdown
17 lines
392 B
Markdown
# console
|
|
|
|
[](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)
|
|
```
|