From 0521b1790e5aca31cb2549db374c1abb0806f38d Mon Sep 17 00:00:00 2001 From: nuintun Date: Wed, 2 Dec 2015 11:30:44 +0800 Subject: [PATCH] update files --- static/js/terminal/index.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/static/js/terminal/index.js b/static/js/terminal/index.js index 180e47c..47ce176 100644 --- a/static/js/terminal/index.js +++ b/static/js/terminal/index.js @@ -1684,7 +1684,7 @@ AnsiTerminal.prototype.REP = function (params){ } this.inst_p(s); - + this.last_char = ''; } }; @@ -2655,9 +2655,6 @@ function styles(node){ styles[key] = attributes[key]; }); - styles.frgb = foreground.RGB; - styles.grgb = background.RGB; - if (foreground.set && !foreground.RGB) { if (attributes.inverse) { if (attributes.bold) { @@ -2704,11 +2701,3 @@ function styles(node){ return styles; } - -var colors = ''; - -COLORS.forEach(function (color, index){ - colors += '\r\n' + index + ': ' + color; -}); - -console.log(colors);