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
e79215d3d5
update github.com/konsorten/go-windows-terminal-sequences dependency to v1.0.3
2020-04-29 08:56:01 +02:00
Edward Muller
d30efdb30d
go mod verify; go mod tidy
2019-10-13 16:39:54 -07:00
David Bariod
744fc4caad
fix build break for plan9
2019-05-18 11:44:18 +02:00
Clément Chigot
5521996833
Update x/sys/unix to fix AIX support
2019-04-23 11:34:05 +02:00
Andrey Tcherepanov
7de3dd8c8b
Removed golang.org/x/crypto refs
2019-03-27 10:56:55 -06:00
David Bariod
bb98c6c533
Fix the version of windows coloring library dependency
2018-10-21 11:53:14 +02:00
David Bariod
f2ab87f230
Add an example for tracing global variable with hook
2018-10-15 21:20:03 +02:00
David Bariod
5a88d3c21d
Add missing module dependency for windows build
2018-09-19 13:46:16 +02:00
David Bariod
66895ce165
Fix module name and remove unused dependencies
2018-09-08 08:27:05 +02:00
Dave Goddard
f75951b604
Add go module support
...
Travis will only run the "go get" install lines if using go 1.10.x
2018-09-06 09:54:44 -03:00