fusesource/jansi — pull request #27 by sjennison (2014-05-12 15:33:08+00:00)
Title: Adding Cygwin detection

Added ability to detect Cygwin consoles by checking the tmp directory - when run from a Cygwin shell, it's usually something like C:\cygwin\tmp. It checks to see if the tmp directory contains "cygwin", and if it does, assumes it's running from a Cygwin shell.