cosmetics

This commit is contained in:
Unrud 2018-09-30 00:26:33 +02:00
parent 1ddfffa843
commit 88339bf3f2
5 changed files with 9 additions and 9 deletions

View file

@ -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