Skip to content

Commit

Permalink
Update qtconsole/ansi_code_processor.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Althviz Moré <[email protected]>
  • Loading branch information
jsbautista and dalthviz authored Jul 7, 2024
1 parent dd5c5b3 commit cf7ad25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qtconsole/ansi_code_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit cf7ad25

Please sign in to comment.