diff --git a/static/js/terminal/xterm.js b/static/js/terminal/xterm.js index 76c1e58..72c2927 100644 --- a/static/js/terminal/xterm.js +++ b/static/js/terminal/xterm.js @@ -2651,11 +2651,11 @@ function getStyles(num, gb, fullwidth){ } function styles(node){ + var styles = {}; var attr = node.attr; var attributes = node.getAttributes(); var foreground = attributes.foreground; var background = attributes.background; - var styles = { attr: attr, char: node.c }; [ 'bold', 'italic', 'underline',