diff --git a/src/xterm.js b/src/xterm.js index b4bcdcd4..c632eb70 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -761,8 +761,8 @@ Terminal.loadAddon = function(addon, callback) { */ Terminal.prototype.updateCharSizeCSS = function() { this.charSizeStyleElement.textContent = - '.xterm-wide-char{width:' + (this.charMeasure.width * 2) + 'px;}' + - '.xterm-normal-char{width:' + this.charMeasure.width + 'px;}' + `.xterm-wide-char{width:${this.charMeasure.width * 2}px;}` + + `.xterm-normal-char{width:${this.charMeasure.width}px;}` } /**