This removes need for cgo in both of these, and updates licenses. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Golang package for dealing with consoles. Light on deps and a simple API.
current := console.Current() defer current.Reset() if err := current.SetRaw(); err != nil { } ws, err := current.Size() current.Resize(ws)