Add fix for ESCDELAY on cygwin
Add fix for ESCDELAY on cygwin

Apparently cygwin uses an incompatible reentrant version of ncurses by
default, which replaces the ESCDELAY global variable with a setter /
getter.  Added an ifdef to detect this and use the setter.

TheTomster/lwe,TheTomster/lwe,TheTomster/llwe