-
Notifications
You must be signed in to change notification settings - Fork 834
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
Running a powershell script changes the console to a raster font #2050
Comments
@sunjoong Sorry, typo. See edited (you have to use |
@agocke - font not changed in my case
|
Ah. It's particular to having opened the console through a shortcut pinned to the taskbar or start menu. Probably a write/permissions issue. |
@agocke - Hmm... that could be. I'm using through bash shortcut in start menu and admin account in windows side and root in linux. |
@sunjoong Try it from the taskbar. |
@agocke - same as shortcut in start menu. |
@sunjoong 🤷♂️ Sounds like it's on the WSL team to sort out 😄 |
@agocke - Haha, no. If so am I, I should test with standard user account and normal linux account too. But, I'm doing something with this admin and root now. |
This affects me as well. |
This seems to be specifically when you try to pipe the output of the powershell command. For me:
|
Wasn't able to reproduce the 'raster font' behavior, which is kind of where this one has sat since May 2017. Maybe post a screencap just so there is clarity on what you are seeing. Also might be worth trying against wsltty or ttyd (or whatev) just to get a baseline versus the Windows Console. As for the error, |
Whoops, sorry @therealkenc , my mistake using echo instead of cat. Here's some better detail:
Steps to reproduce error
I'll give it a try now in mintty, and see if it works. [edit] Have tried in mintty and no issue there. |
Okay got it. The variable between me (and others for two years) and you is that you started off on "Consolas". I started with "Lucida Console". I was able to reproduce starting with Consolas (whee). I'm on 18329, but the version isn't going to matter. Clearly the behavior has existed since the beginning of time. Whatever is causing the font setting change, this is squarely Windows Console territory. Re-file over there and cite this issue. It is possible there is some cross-border problem and interop is pushing some weird data we can't see. But it works okay with |
Logged as microsoft/terminal#367 for anyone who ends up here from a DuckDuckGo search. 🙂 |
Create a simple powershell script, like the following:
and then run from within WSL,
powershell.exe ./echo.ps1
. The script runs successfully, but the font is changed to a raster font.Microsoft Windows [Version 10.0.15063]
The text was updated successfully, but these errors were encountered: