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);