-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REP of SP characters produces incorrect results #15390
Comments
As currently implemented, If we don't want to support supplementary planes, maybe we should filter out anything in the surrogate range, rather than writing out garbage. That way apps could at least detect whether it was supported or not. |
@lhecker Regarding your comment here: #15751 (comment)
This issue isn't related to terminal/src/terminal/parser/OutputStateMachineEngine.cpp Lines 570 to 581 in 5daf498
If that happens to be the second half a surrogate pair, it's not going to work correctly. But this is just one symptom of the problem. For another example, compare the difference between these two statements, which use an emoji as the final character of a
The first outputs |
Windows Terminal version
1.17.1023
Details
1.16.10261 had significant problems with REP of Unicode block graphics and other such characters. That's mostly fixed in 1.17.1023, with one exception: REP of Supplementary Plane characters still produces incorrect results, with the characters repeated in the wrong places on the line or sometimes not at all.
I've experienced this with MouseText characters like U+0001FB81 in particular, and have not (of course!) tested every SP code point.
I did some screenshots.
The text was updated successfully, but these errors were encountered: