|
@@ -7,7 +7,7 @@ import (
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
func main() {
|
|
|
- if isatty.IsTerminal(int(os.Stdout.Fd())) {
|
|
|
|
|
|
|
+ if isatty.IsTerminal(os.Stdout.Fd()) {
|
|
|
fmt.Println("Is Terminal")
|
|
fmt.Println("Is Terminal")
|
|
|
} else {
|
|
} else {
|
|
|
fmt.Println("Is Not Terminal")
|
|
fmt.Println("Is Not Terminal")
|