Show More
@@ -141,15 +141,15 b' class QtAnsiCodeProcessor(AnsiCodeProcessor):' | |||||
141 | """ |
|
141 | """ | |
142 |
|
142 | |||
143 | # A map from color codes to RGB colors. |
|
143 | # A map from color codes to RGB colors. | |
144 |
ansi_colors = ( |
|
144 | ansi_colors = (# Normal, Bright/Light ANSI color code | |
145 |
(' |
|
145 | ('black', 'grey'), # 0: black | |
146 |
(' |
|
146 | ('darkred', 'red'), # 1: red | |
147 |
(' |
|
147 | ('darkgreen', 'green'), # 2: green | |
148 |
(' |
|
148 | ('gold', 'yellow'), # 3: yellow | |
149 |
(' |
|
149 | ('darkblue', 'blue'), # 4: blue | |
150 |
(' |
|
150 | ('darkviolet', 'magenta'), # 5: magenta | |
151 |
(' |
|
151 | ('steelblue', 'cyan'), # 6: cyan | |
152 |
(' |
|
152 | ('grey', 'white')) # 7: white | |
153 |
|
153 | |||
154 | def get_format(self): |
|
154 | def get_format(self): | |
155 | """ Returns a QTextCharFormat that encodes the current style attributes. |
|
155 | """ Returns a QTextCharFormat that encodes the current style attributes. |
General Comments 0
You need to be logged in to leave comments.
Login now