Added support for 256 color terminals