summaryrefslogtreecommitdiff
path: root/vendor/github.com/containerd/console/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/containerd/console/README.md')
-rw-r--r--vendor/github.com/containerd/console/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/github.com/containerd/console/README.md b/vendor/github.com/containerd/console/README.md
new file mode 100644
index 000000000..4c56d9d13
--- /dev/null
+++ b/vendor/github.com/containerd/console/README.md
@@ -0,0 +1,17 @@
+# 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)
+```