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

@ -2,8 +2,9 @@
package term
import (
"github.com/docker/docker/pkg/term/winconsole"
"io"
"github.com/docker/docker/pkg/term/winconsole"
)
// State holds the console mode for the terminal.
@ -112,6 +113,6 @@ func GetFdInfo(in interface{}) (uintptr, bool) {
return winconsole.GetHandleInfo(in)
}
func StdStreams() (stdOut io.Writer, stdErr io.Writer, stdIn io.ReadCloser) {
func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer) {
return winconsole.StdStreams()
}