Terminal: Revisit the Powershell Defaults

Created on 6 May 2019  路  10Comments  路  Source: microsoft/terminal

That blue background is a thing of the past RE PowerShell. When opening PowerShell Core or in the future PowerShell 7 (ie pwsh.exe), you should use the current default bg for these apps which is a dark background similar to cmd.exe and WSL IIRC.

It would be worth keeping that Blue background if you offered to launch Windows PowerShell 5.1 which will be needed for some back compat purposes.

Area-Settings Issue-Bug Product-Terminal Resolution-Fix-Committed

Most helpful comment

I think the suggestion is to remove the "background": "#012456" property from the default powershell profile we generate.

If you wanted to change the color of pwsh, you could remove that element from the profiles.json file, and we'll use the default BG from the colorscheme instead.

All 10 comments

Sorry, is this a request that we don鈥檛 do something? PSCore already doesn鈥檛 install a shortcut with a hardcoded blue background.

I noticed that when I used the drop down menu to start pwsh.exe, it started with a blue background. That is in the terminal settings (json) file.

I think the suggestion is to remove the "background": "#012456" property from the default powershell profile we generate.

If you wanted to change the color of pwsh, you could remove that element from the profiles.json file, and we'll use the default BG from the colorscheme instead.

Yup, did that. But I think "out of the box" it should use that color for PowerShell.exe but not pwsh.exe. At the very least, run it by Joey on the PowerShell team.

You know, we're already detecting powershell core vs powershell, so I don't think this is an impossible ask

Also, if I did a PR to add OneHalfDark/OneHalfLight color schemes would you take it? Out of curiousity, these were in colortool, why not in terminal by default?

Sure!

Simple answer - I didn't even think about it. I kinda only added solarized as a proof-of-concept.

I dream of one day adding a flag to wt.exe to attempt to parse all your colortool schemes, and import them if they don't already exist in your profiles.json.

@joeyaiello for his opinion on this.

What background color should we have for powershell, and what font face? We're currently using "powershell blue" and Courier New, from the vintage inbox powershell settings. Is that still appropriate?

Eventually, for PowerShell 6/7 I'd like to see it default to the new, spiffy Cascadia Code font (assuming it looks as good in person as I've seen in the BUILD demos). :-)

Hey I'm pretty sure this was closed with #918

Was this page helpful?
0 / 5 - 0 ratings