fix VTE again - two chars for surrogate wide replacement.
This commit is contained in:
parent
0ea8c77dd8
commit
56421ccc7b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue