Show More
@@ -188,16 +188,16 IPython.utils = (function (IPython) { | |||
|
188 | 188 | attrs["class"] += " " + ansi_colormap[n]; |
|
189 | 189 | } |
|
190 | 190 | } else if (n == "38" || n == "48") { |
|
191 |
// |
|
|
191 | // VT100 256 color or 24 bit RGB | |
|
192 | 192 | if (numbers.length < 2) { |
|
193 |
console.log("Not enough fields for |
|
|
193 | console.log("Not enough fields for VT100 color", numbers); | |
|
194 | 194 | return; |
|
195 | 195 | } |
|
196 | 196 | |
|
197 | 197 | var index_or_rgb = numbers.shift(); |
|
198 | 198 | var r,g,b; |
|
199 | 199 | if (index_or_rgb == "5") { |
|
200 |
// |
|
|
200 | // 256 color | |
|
201 | 201 | var idx = parseInt(numbers.shift()); |
|
202 | 202 | if (idx < 16) { |
|
203 | 203 | // indexed ANSI |
General Comments 0
You need to be logged in to leave comments.
Login now