terraform/helper/wrappedstreams
Mitchell Hashimoto fd36b548c5
helper/wrappedstreams: get original console input/output on Windows
Fixes #10266

panicwrap was using Extrafiles to get the original standard streams for
`terraform console`. This doesn't work on Windows. Instead, we must use
the Win32 APIs to get the exact handles.
2016-11-21 10:44:01 -08:00
..
streams.go helper/wrappedstreams: get original console input/output on Windows 2016-11-21 10:44:01 -08:00
streams_other.go helper/wrappedstreams: get original console input/output on Windows 2016-11-21 10:44:01 -08:00
streams_windows.go helper/wrappedstreams: get original console input/output on Windows 2016-11-21 10:44:01 -08:00