From 84a8c4ac150dac0fc2c04082b338e457d0c1647a Mon Sep 17 00:00:00 2001 From: nuintun Date: Fri, 4 Dec 2015 12:49:54 +0800 Subject: [PATCH] update files --- static/js/terminal/canvas-xterm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/terminal/canvas-xterm.js b/static/js/terminal/canvas-xterm.js index 4df9c07..a8616ea 100644 --- a/static/js/terminal/canvas-xterm.js +++ b/static/js/terminal/canvas-xterm.js @@ -105,7 +105,7 @@ CanvasXTerm.prototype = { if (node.value) { if (node.attr !== attrCache) { - x = drawLine(brush, text, x, this.getStyles(stylesCache)); + x = drawLine(brush, text, x, stylesCache); reset(); } @@ -115,7 +115,7 @@ CanvasXTerm.prototype = { } if (text) { - drawLine(brush, text, x, this.getStyles(stylesCache)); + drawLine(brush, text, x, stylesCache); } this.brush.drawImage(canvas, 0, y, canvas.width, canvas.height);