Shortcut to adjust background opacity level #19862

Closed
opened 2026-01-31 06:55:38 +00:00 by claunia · 4 comments
Owner

Originally created by @u84six on GitHub (May 11, 2023).

Many times when I need to type something in the terminal, I need information from another window, so I find myself switching windows and then typing, over and over. What I would like is a way to adjust the background opacity of the Terminal window so that I can see through it while I type. I know there's a way to adjust this in settings, but it's more of a static solution. What I'd like is something similar to the cmd prompt where you can adjust on the fly like holding down a key combo and then using the mouse wheel or +/- keys. This way will allow me to set it when I need to, and then go back to full opacity when I'm done. I'm not sure if this can happen for all types of command prompts (powershell, gitbash, cmd, etc) in Terminal, but it would great if you could figure it out :)

The implementation for cmd isn't very good because it doesn't just do the background, it also does the foreground, so it can be tough to see the text I'm typing. It would be ideal for the settings to just affect the background

Originally created by @u84six on GitHub (May 11, 2023). Many times when I need to type something in the terminal, I need information from another window, so I find myself switching windows and then typing, over and over. What I would like is a way to adjust the background opacity of the Terminal window so that I can see through it while I type. I know there's a way to adjust this in settings, but it's more of a static solution. What I'd like is something similar to the cmd prompt where you can adjust on the fly like holding down a key combo and then using the mouse wheel or +/- keys. This way will allow me to set it when I need to, and then go back to full opacity when I'm done. I'm not sure if this can happen for all types of command prompts (powershell, gitbash, cmd, etc) in Terminal, but it would great if you could figure it out :) The implementation for cmd isn't very good because it doesn't just do the background, it also does the foreground, so it can be tough to see the text I'm typing. It would be ideal for the settings to just affect the background
Author
Owner

@DHowett commented on GitHub (May 11, 2023):

If you hold down Ctrl and Shift, you should be able to "scroll" the opacity up and down with the mouse wheel or trackpad!

@DHowett commented on GitHub (May 11, 2023): If you hold down <kbd>Ctrl</kbd> and <kbd>Shift</kbd>, you should be able to "scroll" the opacity up and down with the mouse wheel or trackpad!
Author
Owner

@DHowett commented on GitHub (May 11, 2023):

FWIW, it looks like this when it's working.

WindowsTerminal_Ao2LSWVC4B

@DHowett commented on GitHub (May 11, 2023): FWIW, it looks like this when it's working. ![WindowsTerminal_Ao2LSWVC4B](https://github.com/microsoft/terminal/assets/189190/088c914a-e207-4053-aeea-c8fd525478b5)
Author
Owner

@zadjii-msft commented on GitHub (May 12, 2023):

You can also use the setOpacity action:

ed1825ed-354f-4958-8327-bfd5a9f0bf4c

@zadjii-msft commented on GitHub (May 12, 2023): You can also use the `setOpacity` action: ![ed1825ed-354f-4958-8327-bfd5a9f0bf4c](https://github.com/microsoft/terminal/assets/18356694/47a2ea1b-888a-484f-aedf-e8aac41564f4)
Author
Owner

@u84six commented on GitHub (May 12, 2023):

If you hold down Ctrl and Shift, you should be able to "scroll" the opacity up and down with the mouse wheel or trackpad!

Thanks for the demo! I was using a trackpad but it wasn't setup correctly so couldn't adjust it. This is working now. Thanks again

@u84six commented on GitHub (May 12, 2023): > If you hold down Ctrl and Shift, you should be able to "scroll" the opacity up and down with the mouse wheel or trackpad! Thanks for the demo! I was using a trackpad but it wasn't setup correctly so couldn't adjust it. This is working now. Thanks again
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19862