Support non 256 color terminals