Commit Graph

4 Commits

Author SHA1 Message Date
Tobias Klauser 86657918d4 Simplify checkIfTerminal for Windows
Instead of relying on EnableVirtualTerminalProcessing from
github.com/konsorten/go-windows-terminal-sequences which just calls
GetConsoleMode, sets ENABLE_VIRTUAL_TERMINAL_PROCESSING and calls
SetConsoleMode with the new modified mode, implement it directly inside
checkIfTerminal. This also avoids the duplicate call to GetConsoleMode.
2020-05-06 15:58:24 +02:00
David Bariod 744fc4caad fix build break for plan9 2019-05-18 11:44:18 +02:00
David Bariod 98c898cc2d Fix gopherjs build constraint name 2018-09-16 10:14:59 +02:00
Felix Kollmann c9a46a1e7c Added terminal check on Windows 2018-04-03 04:40:58 +02:00