Some Unicode characters cause a mismatch between the cursor position and the displayed width #11756
Labels
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Windows Terminal version (or Windows build number)
10.0.19043.1348
Other Software
No response
Steps to reproduce
First, make sure you are not using the legacy console.
Then compile and run the following program in a console:
Expected Behavior
The program should output either of the following:
𐌀
and𐌁
are considered to be single-width:𐌀
and𐌁
are considered to be double-width:Actual Behavior
The program had the following output:
As you can see, after every
WriteConsole
operation the cursor is moved as if the affected characters were double-width, but they don't look like so.This issue affects at least the following Unicode characters (from this page):
The text was updated successfully, but these errors were encountered: