backspace breaks apart multibyte characters #14084
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-Won't-Fix
We're just really obstinate about this. There's probably a good reason.
Windows Terminal version
1.14.2282.0
Windows build number
10.0.22000.978
Other Software
powershell core
Steps to reproduce
Expected Behavior
The backspace should delete the entire multibyte character, so typing
echo "🙂<backspace>" <enter>
inpwsh
would be the same as typingecho "" <enter>
(should print an empty string).Actual Behavior
When pressing backspace, the character is instead broken in a couple of � � characters, and the backspace deletes the second �, leaving the first one, which, if sent to
pwsh
, breaks everything (see here: PowerShell/PSReadLine#2358 (comment))The text was updated successfully, but these errors were encountered: