winconsole: cleanup

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass 2015-03-22 12:55:21 -04:00
parent 9cc42dea7c
commit 4cbedb8d54
4 changed files with 261 additions and 342 deletions

View file

@ -26,8 +26,8 @@ type Winsize struct {
y uint16
}
func StdStreams() (stdOut io.Writer, stdErr io.Writer, stdIn io.ReadCloser) {
return os.Stdout, os.Stderr, os.Stdin
func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer) {
return os.Stdin, os.Stdout, os.Stderr
}
func GetFdInfo(in interface{}) (uintptr, bool) {