Added terminal detection
This commit is contained in:
parent
929938dcd6
commit
71c74c800b
12 changed files with 37 additions and 79 deletions
6
tty/Terminal_windows.go
Normal file
6
tty/Terminal_windows.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package tty
|
||||
|
||||
// IsTerminal returns true if the file descriptor is a terminal.
|
||||
func IsTerminal(fd uintptr) bool {
|
||||
return false
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue