microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.88k stars 8.34k forks source link

Suggestion: Enable default theme based on elevation status #8311

Open cessna048 opened 4 years ago

cessna048 commented 4 years ago

This would allow you to have a different default scheme when you are running WT as admin that when running it normally so you could visually distinguish elevated terminals. My Powershell profile sets the background to red for elevated instances but in WT the Powershell background color scrolls away or goes away completely if I use the cls command. I can set the color scheme or theme manually after opening WT but it would be nice for WT to do this automatically.

DHowett commented 4 years ago

Thanks for the request! We're tracking this with dup #1939.

ghost commented 4 years ago

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

zadjii-msft commented 2 years ago

I'm gonna re-open this and stick it on the backlog, because the shield is almost certainly not what folks really wanted here.

zadjii-msft commented 2 years ago

Note to self:

gnome's new terminal, Console, does something like this - they auto-change the titlebar to be red when in sudo, and purple when ssh'd.

The ssh scenario is a GREAT example for another state to compound the problem space here (focused? x elevated? x ssh?) is now 8 states, not just 4.

zadjii-msft commented 1 year ago

Promoting this as the theme-specific version, while #3246 is the scheme-specific one.