SERVER-6086 fixed the issue with moving the cursor over multi-byte characters but exposed a flaw in the Windows redrawing code as described below:
------
Comments in SERVER-6086:
The cursor navigation works now. When I move the cursor under the chinese characters, the entire character is underlined(as opposed to be half). And press the arrow key once does move one char over.
Looking at the screenshot(see attachment image.png), you can notice there is some cosmetic issue. I tried to hit backspace 3 times when the cursor is at the last double quote mark. 3 chinese characters were deleted as expected, however, there are some extra curly brackets being shown in the end. If you hit enter, the statement would just work fine so it's just cosmetic.
- is related to
-
SERVER-6086 Unicode/UTF-8 in the shell needs to handle zero-width and double-width characters
- Closed
- related to
-
SERVER-14931 linenoise incorrectly duplicates lines containing multi-byte characters, when text wraps
- Closed