-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-AttentionThe core contributors need to come back around and look at this ASAP.The core contributors need to come back around and look at this ASAP.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingIt's a new issue that the core contributor team needs to triage at the next triage meeting
Description
Windows Terminal version
1.18.3181.0
Windows build number
10.0.22635.2921
Other Software
WSL.
Steps to reproduce
-
Build this simple C++ program (bug.cpp) with
g++ bug.cpp:#include <string> #include <iostream> int main(int argc, const char **argv) { std::string s; std::cin >> s; std::cout << s << std::endl; return 0; }
-
Run it with
./a.out, input some Chinese characters, such as "时间",
and we see that this string is eched correctly. -
Run it again, input "时间", then use Backspace to delete one or two characters, we can see GUI's behaviour is wrong.
As shown in the image, I have presse Backspace several times, but "时" is always there. Then I typed in "世界"
and 3 characters ("时世界") is displayed. Press Enter, we see that "世界" is echoed correctly.
Expected Behavior
Chinese input can be deleted as expected.
Actual Behavior
Some Chinese characters are displayed even through they are already deleted.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-AttentionThe core contributors need to come back around and look at this ASAP.The core contributors need to come back around and look at this ASAP.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingIt's a new issue that the core contributor team needs to triage at the next triage meeting
