You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Area-Commandlinewt.exe's commandline argumentsArea-RemotingCommunication layer between windows. Often for windowing behavior, quake mode, etc.Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.
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.
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.
This kinda sounds like the globalSummon action to me, but with more steps. Not saying that it's invalid, but I suppose I'm curious - is there a reason globalSummon doesn't work for your use case/?
Presumably, it wouldn't be too hard to just plumb through wt summon as a globalSummon action, if you really needed this on the commandline for some reason.
ghost added
Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
This kinda sounds like the globalSummon action to me, but with more steps. Not saying that it's invalid, but I suppose I'm curious - is there a reason globalSummon doesn't work for your use case/?
Presumably, it wouldn't be too hard to just plumb through wt summon as a globalSummon action, if you really needed this on the commandline for some reason.
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.
ghost added
Needs-AttentionThe core contributors need to come back around and look at this ASAP.
I found my Lenovo PC has a way to run a custom command when pressing F12
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.
Area-Commandlinewt.exe's commandline argumentsArea-RemotingCommunication layer between windows. Often for windowing behavior, quake mode, etc.Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.
Activity
zadjii-msft commentedon Jun 13, 2022
This kinda sounds like the
globalSummonaction to me, but with more steps. Not saying that it's invalid, but I suppose I'm curious - is there a reason globalSummon doesn't work for your use case/?Presumably, it wouldn't be too hard to just plumb through
wt summonas aglobalSummonaction, if you really needed this on the commandline for some reason.gapf2010 commentedon Jun 14, 2022
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.
zadjii-msft commentedon Jun 14, 2022
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 😄
gapf2010 commentedon Jun 14, 2022
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.
zadjii-msft commentedon Aug 10, 2022
Note: this is as described in #12135.
I'll use this for the
summonsubcommand, and then leave the other issue for--profile