Windows build number: 10.0.19041.0
Windows Terminal version (if applicable): 1.1.2233.0
Some (not all) uppercase Cyrillic characters e.g. "А", "Б", "В" couldn't be pasted or typed in Windows Terminal. Also "Ы", "Я" could be pasted/typed.
I've discovered it when tried to paste
Start-Process -FilePath "$env:ProgramFiles\Mozilla Firefox\firefox.exe" -ArgumentList "-new-tab https://ru.wikipedia.org/wiki/Свободное_программное_обеспечение#Введение_ограничений_для_ПО"
The string above should be pasted.
Start-Process -FilePath "$env:ProgramFiles\Mozilla Firefox\firefox.exe" -ArgumentList "-new-tab https://ru.wikipedia.org/wiki/Свободное_программное_обеспечение#ведение_ограничений_для_"
As you can see Введение_ограничений_для_ПО became ведение_ограничений_для_ by cutting all uppercase characters.
May be related to https://github.com/PowerShell/PSReadLine/issues/1603 and hence https://github.com/dotnet/runtime/issues/38966. Try workarounds:
Remove-Module PSReadLineThanks. Fixed after installing latest stable PSReadLine.
Install-Module -Name PSReadLine -RequiredVersion 2.0.4 -Force
Out of curiosity, which version of PSReadLine did you have before? I was not able to reproduce the issue with PSReadLine 2.0.2 installed as part of PowerShell 7.1.0-preview.5, even when using a Russian keyboard layout.
A default one: 2.0.0 (PS 5.1). The version distributed by default on Win 10 2004. Then I tested on VM with fresh installed 2004 and faced the same bug.
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 2.0.0 PSReadline {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PS...
Thanks for the info! Yeah, the built-in version of PSRL is a little bit outdated (it is 2.0.0-beta3, if i recall correctly?).
Looks like this one is external/fixed for you :smile: