Fixing color issues regarding 256 colors and remote sessions