Sfoglia il codice sorgente

Fix exposing IsCygwinTerminal to other OS

Because the file ends with `_windows.go` it's only available to Windows.
However we need `IsCygwinTerminal` on other OS. The `+build` doesn't
take precedence in this case. Renaming it to `_others.go` exposes the
function.
Fatih Arslan 8 anni fa
parent
commit
98d16bc74e
2 ha cambiato i file con 0 aggiunte e 0 eliminazioni
  1. 0 0
      isatty_others.go
  2. 0 0
      isatty_others_test.go

+ 0 - 0
isatty_not_windows.go → isatty_others.go


+ 0 - 0
isatty_non_windows_test.go → isatty_others_test.go