-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font in WSL Console window changes to Raster Fonts when Running a powershell.exe command with Consolas font #367
Comments
This looks like #280.
As a side effect of WSL switching to ConPTY for interop hosting, this should technically be fixed for this particular use case ... |
I'll buy that it's a dupe for a dollar. I think I see what happened there now. Thanks Dustin. FWIW, my PSVersion is But for giggles I installed PowerShell v6.2.0-preview.4 and sure enough it works with Consolas through WSL interop.
Still, it sure seems like something is rotten in Denmark. I can see Windows Console behaving badly if Jay's post was strewn with Chinese Heiti, but it isn't. Everything here is in 'merican. |
I was looking for a workaround when using It's not quite perfect, but now my script works and my font stays, at least on stock 1809. I hope this idea helps someone else keep their sanity too! |
Dupe to #280 |
This is still broken for me on the latest fast ring. Any word on this? It totally breaks my Emacs workflow. |
Still the issue here. Did assign a, variable= |
HI, guys. I'm not sure if it could help you, but you could take one minues to try this. |
I seem to have fixed this by going to the registry
and changing |
I found this does not work for me. After changing both values to Consolas (my chosen font) and rebooting the computer, this still happens. |
1 year from the last comment, my WSL terminal when running react-scripts happens to change to the same small font when it tries to launch browser. any fixes? |
@dandeancook That sounds like a totally different root cause than this thread (which was tracked down to a root cause in Windows PowerShell). I'd file a new issue, and make sure to include your OS version number, Terminal version, etc. |
This was discovered from the issue here: microsoft/WSL#2050
The issue is that if I'm using WSL, and execute a command like
powershell.exe -command 'Write-output hi' | cat
the console font changes to Raster fonts and it resizes the console.Windows version:
Steps to reproduce
HKEY_CURRENT_USER\Console
to reset console to all default settingspowershell.exe -command 'Write-output hi'
- no font change, and it correctly echo 'hi' to the command line:powershell.exe -command 'Write-output hi' | cat
- font changes to Raster Fonts, and windows resizes to match new font:Some notes on the behaviour that we discovered in the previous issue:
Lucida Console
as your font.Let me know if you need any further debugging or testing.
The text was updated successfully, but these errors were encountered: