Fixed compatibility with less than 8 colors terminal emulators