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

@ -24,6 +24,6 @@ package main
// #include <unistd.h>
import "C"
func terminalSupportsColor(fd uintptr) bool {
func TerminalSupportsColor(fd uintptr) bool {
return C.isatty(C.int(fd)) != 0
}