Detect if terminal supports colors
Created by: gyscos
Ncurses has has_colors()
to detect when a terminal doesn't support colors (like the linux TTY).
This can be used to trigger fallback mechanisms.
Having a similar method in termion would be nice.