Use `stty size` or zero as a fallback for $COLUMNS

Fixes #924
Merge pull request #926 from ZyX-I/fix-cygwin-COLUMNS

Use `stty size` or zero as a fallback for $COLUMNS