diff --git a/qtconsole/ansi_code_processor.py b/qtconsole/ansi_code_processor.py index 69254c1d..1caec54c 100644 --- a/qtconsole/ansi_code_processor.py +++ b/qtconsole/ansi_code_processor.py @@ -300,7 +300,7 @@ def _parse_ansi_color(self, color, intensity): parsed_color = None if color < 16: # Adjust for intensity, if possible. - if intensity > 0: + if intensity > 0 and color < 8: color += 8 parsed_color = self.color_map.get(color, None) elif (color > 231):