added 256 color support from @swdunlop