Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 369 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 369 Bytes

go-iscygpty

Golang port of iscygpty which is a part of ptycheck. Check if a program running on mintty (or some other terminal) on Cygwin/MSYS.

API

Only three functions are provided.

  • GetPipeName()
  • IsCygwinPty()
  • IsCygwinPtyUsed()

See _exapmle/example.go for usage.

License

The MIT License