Powershell: When execute some command, the font will changed.

Created on 25 Apr 2020  路  8Comments  路  Source: PowerShell/PowerShell

Windows 10, Chinese language version.
Powershell 7 Preview 2.

Changed the font to other font. Jetbrains Mono.
When execute some command, the powershell font will changed to default font.
Explame:
ping command.
The command was not execute:
befor

The command is running...
after

Issue-Question Resolution-External WG-Interactive-Console WG-Interactive-PSReadLine

All 8 comments

@onebits Please remove PSReadline and check again.

@onebits Please remove PSReadline and check again.

Thank u, But its not worked.
I use the command:
Remove-Module -Name PSReadline

@daxian-dbw Could you please comment?

same issue

Maybe @Dhowett has any thoughts.

This is a side effect of https://github.com/PowerShell/PSReadLine/issues/964

When PSReadline changes the codepage, the display font is changed to match.

If PowerShell is doing the same codepage maintenance as PSReadline (it might be), this would happen with the module removed.

This issue has been marked as external and has not had any activity for 1 day. It has been be closed for housekeeping purposes.

Was this page helpful?
0 / 5 - 0 ratings