Fix for 256 color terminals