The font changes from 'Consolas' to '新宋体' when execute commands as Administrator
Steps to reproduce
- Right-click on desktop
- Select
PowerShell 6->Open here as Administrator - Type
pip install flaskin the opened window (actually, every command)

Expected behavior
It can execute commands normally.
Actual behavior
The result of command is right. But during execution, the font changes from Consolas from 新宋体 and changes back after the execution end.


Environment data
Name Value
---- -----
PSVersion 6.2.0
PSEdition Core
GitCommitId 6.2.0
OS Microsoft Windows 10.0.18362
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
This is an issue with PSReadLine which should be fixed in beta4 which should be published next week.
This is an issue with PSReadLine which should be fixed in beta4 which should be published next week.
This bug still exists in PowerShell 6.2.1 on Windows 10 1903.
@pboymt 6.2.1 still ships with PSReadLine 2.0.0-beta3. Can you install beta4 from PSGallery and see if it is still an issue?
Also a duplicate of https://github.com/PowerShell/PSReadLine/issues/964