86657918d4
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.
11 lines
242 B
Modula-2
11 lines
242 B
Modula-2
module github.com/sirupsen/logrus
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/stretchr/testify v1.2.2
|
|
golang.org/x/sys v0.0.0-20190422165155-953cdadca894
|
|
)
|
|
|
|
go 1.13
|