From 67ca3a9334bcb7168f744f19a7425461cfc28174 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Tue, 16 May 2017 09:57:50 -0700 Subject: [PATCH] More string interpolation --- src/xterm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;}` } /**