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