Repository navigation
Description
Description of the new feature/enhancement
I love the pane of glass look for Terminal. However, when using a dark theme for example in Terminal and the window is in front-of a light colored windows (i.e. Browser with a white page), the text is unreadable in terminal. And when the Terminal is in front of a dark background the text color in Terminal is nice and crisp. What would be great is if the Terminal can detect the underlying window color and dynamically adjust the opacity to ensure the text of the Terminal window remains readable regardless of the window that Terminal is in front of.
Can't read text in Terminal with transparency in front of a light window when using a dark theme. In order to keep the pane of glass look, I need to keep adjusting the transparency setting based on the background colors (background theme and/or window the Terminal is overlaying). New functionality would automatically adjust this or at a minimum provide a hot key to adjust transparency on demand
Activity
zadjii-msft commentedon Sep 13, 2021
Wow, someone who wants a transparency feature that's not #11180, what a pleasant surprise 😅
I'm pretty sure there's not a good way for the Terminal to be able to know what the contents of the screen are underneath our window. However:
Now that's something I can get behind, and something I was already planning for landing once #11180 merged and once I did the control settings refactor for #5000, so I'll leave this open to track that. Thanks!
edit: pseudo-spec
setOpactiy:"opacity": (required) an integer number to set the opacity to."relative": (defaults tofalse)opacityas a relative adjustment to the current opacity. So the implementation would get the current opacity for this pane, then add this action's opacity to that value. Should be between [-100, 100]This would allow both setting exactly 25% opacity with an action, and binding an action that increases/decreases the opacity one {amount}
[-]Dynamic transparency[/-][+]Action for adjusting opacity at runtime[/+]zadjii-msft commentedon Nov 8, 2021
dev/migrie/f/11205-adjustOpacityis ready to go, but it's targeting #11619 so I need that reviewed firstAdd `adjustOpacity` action (#12092)