cosmetics
This commit is contained in:
parent
1ddfffa843
commit
88339bf3f2
5 changed files with 9 additions and 9 deletions
|
|
@ -32,7 +32,7 @@ var (
|
|||
setConsoleModeProc = kernel32DLL.NewProc("SetConsoleMode")
|
||||
)
|
||||
|
||||
func terminalSupportsColor(fd uintptr) bool {
|
||||
func TerminalSupportsColor(fd uintptr) bool {
|
||||
r, _, _ := setConsoleModeProc.Call(fd, uintptr(enableProcessedOuput|
|
||||
enableWrapAtEolOutput|enableVirtualTerminalProcessing))
|
||||
return r != 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue