fix VTE again - two chars for surrogate wide replacement.

This commit is contained in:
Christopher Jeffrey 2015-04-26 07:17:39 -07:00
parent 0ea8c77dd8
commit 56421ccc7b
1 changed files with 1 additions and 1 deletions

View File

@ -2428,7 +2428,7 @@ Element.prototype.parseContent = function(noTags) {
// VTE cannot display double-width chars that are also
// surrogate pairs: It miscalculates the width of the chars.
if (this.screen.program.isVTE) {
content = content.replace(unicode.chars.swide, '?');
content = content.replace(unicode.chars.swide, '??');
}
} else {
// no double-width: replace them with question-marks.