In powershell under W10, when I type cd "xxxx", the "xxxx" are not visible on the screen (the cursor moves but the characters print in the same color as the background). When I type the first double quote then the >
at the beginning of the line turns red and when I type final quotes it turns back to white and the rest of the line is visible.
For example if I type:
>cd "Desktop" Hello
I get:
>cd Hello
My powershell used to work well until yesterday... Do you know how to correct this bug?
I found out why this happens, it has to do with the palette in the Colors tab.
If you edit the values in the palette when choosing your text/background colors (which I did by accident), you can change the color of quoted strings.
The 4th value is the one related to quoted strings:
Hope it helps!
The command below suggested by TravisEz13 works.
remove-module psreadline
But it also removes the nice syntax highlight. It's local solution, you'll have to do it every time you open a new PowerShell session.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With