-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command-line to toggle visibility #13276
Comments
This kinda sounds like the Presumably, it wouldn't be too hard to just plumb through |
Hi. Well, for me gobalSummons does not work, because it seems I cannot bind F12 to summon the terminal. F12 works on Linux and OSX, but for some reason it does not work on Windows for me. However, I found my Lenovo PC has a way to run a custom command when pressing F12, and that's what I'd like to use with this option I'm proposing. Thanks. |
Ah, well, that might explain why you can't bind F12 in the Terminal - I suppose the PC has already stolen that keybinding away from us 😄 |
I thought the same, but then I noticed that the Lenovo software actually does not bind to F12, but to Fn+F12 and even then, it's not currently enabled. F12 is not bound to anything AFAIK, because pressing it on a software that uses it (like Edge or Chrome) does what it's supposed to do on that software, so no other app uses F12 exclusively. If you can configure your terminal to open with F12 and could share the config here, I'd appreciate it. Anyway, I still think my original request would be useful. |
Note: this is as described in #12135. I'll use this for the |
Description of the new feature/enhancement
I'm proposing a command-line option to toggle the visibility of the terminal window. It should do exactly that: if I run (for instance) "wt --toggle" it should create a new window with default profile and show it (if no window exists) or show the current window (if one already exists). If the window is currently being displayed, running "wt --toggle" should hide the window and focus the previously selected application. This can be complemented with an option to make it that if "wt --toggle" creates the window, then it won't make it visible (useful on startup of terminal). A second run of "wt --toggle" will make the window visible.
Proposed technical implementation details (optional)
Not sure about how to do this. Maybe a switch that will run the same "toggle visibility" internal command of terminal, or something? however that does not seem to be exactly what I described above.
The text was updated successfully, but these errors were encountered: