Character navigation issue #17315
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Resolution-External
For issues that are outside this codebase
Windows Terminal version
1.20.11271.0
Windows build number
Win32NT 10.0.22631.0 Microsoft Windows NT 10.0.22631.0
Other Software
PS 7.4.2
Steps to reproduce
Paste in
'R🜨'
. Now try to put a period immediately after the closing quotes as though you wanted to call one of the string's members. If you do so by visually placing the caret to the immediate right of the closing quote, you'll actually put the new character in the string.Expected Behavior
As you move the caret back and forth, you'd think it'd move left or right one character the user sees. The user sees 4 characters in that code, 2 in the string and two quotes.
Actual Behavior
Terminal acts like there are 5 characters. It treats
🜨
as two characters. I'm creating this with FF 126.0 and it handle this situation correctly. In this image, the caret was past the end of the string.The text was updated successfully, but these errors were encountered: