Windows: run -it not crash in ISE

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2016-05-24 13:03:13 -07:00
parent a531a67461
commit f790161afd
3 changed files with 30 additions and 16 deletions

View file

@ -28,6 +28,7 @@ type ansiReader struct {
}
func newAnsiReader(nFile int) *ansiReader {
initLogger()
file, fd := winterm.GetStdFile(nFile)
return &ansiReader{
file: file,