1
0
mirror of https://github.com/rancher/os.git synced 2025-09-03 07:44:21 +00:00

move dependencies to vendor

This commit is contained in:
Ivan Mikushin
2015-11-26 17:37:01 +05:00
parent 63d7de67cd
commit 1d691cd8d6
2232 changed files with 154499 additions and 9037 deletions

33
vendor/github.com/kless/term/doc.go generated vendored Normal file
View File

@@ -0,0 +1,33 @@
/*
Package term provides a portable interface for terminal I/O.
It manages input and output (I/O) for character-mode applications.
The high-level functions enable an application to read from standard input to
retrieve keyboard input stored in a terminal's input buffer. They also enable
an application to write to standard output or standard error to display text
in the terminal's screen buffer. And they also support redirection of standard
handles and control of terminal modes for different I/O functionality.
The low-level functions enable applications to receive detailed input about
keyboard. They also enable greater control of output to the screen.
Usage:
ter, err := term.New()
if err != nil {
panic(err)
}
defer func() {
if err = ter.Restore(); err != nil {
// Handle error
}
}()
Important
The "go test" tool runs tests with standard input connected to standard
error. So whatever program that uses the file descriptor of "/dev/stdin"
(which is 0), then it is going to fail. The solution is to use the standard
error.
*/
package term