Add support for 256 color terminals
Adjust demo/output to draw according to terminal color type