mirror of
https://github.com/containers/podman
synced 2024-10-21 09:45:32 +00:00
c23f81fab6
`setConsoleMode` should do nothing if the handle is not a terminal. The proposed change is [exactly what `golang.org/x/term/IsTerminal()` does on Windows](https://cs.opensource.google/go/x/term/+/6886f2df:term_windows.go). [NO TESTS NEEDED] Signed-off-by: Anton Tykhyy <atykhyy@gmail.com> |
||
---|---|---|
.. | ||
console_unix.go | ||
console_windows.go | ||
util.go |