Просмотр исходного кода

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 лет назад
Родитель
Сommit
98d16bc74e
2 измененных файлов с 0 добавлено и 0 удалено
  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