cosmetics
This commit is contained in:
parent
1ddfffa843
commit
88339bf3f2
5 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue