From 94ba30cbfdbd91302906dc3c83edb4b1a7567c8b Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 26 Apr 2015 05:55:20 -0700 Subject: [PATCH] fix: break on extra space for double-width again. --- lib/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widget.js b/lib/widget.js index 6eb19e5..6549618 100644 --- a/lib/widget.js +++ b/lib/widget.js @@ -2424,7 +2424,7 @@ Element.prototype.parseContent = function(noTags) { if (this.screen.fullUnicode) { // double-width chars will eat the next char after render. create a // blank character after it so it doesn't eat the real next char. - content = content.replace(unicode.chars.wide, '$1_'); + content = content.replace(unicode.chars.wide, '$1 '); } else { // no double-width: replace them with question-marks. content = content.replace(unicode.chars.all, '??');