mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-02-26 09:35:28 +00:00
fix: break on extra space for double-width again.
This commit is contained in:
parent
fe4a807042
commit
94ba30cbfd
@ -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, '??');
|
||||
|
Loading…
x
Reference in New Issue
Block a user