Support fullscreening with Win+Shift+Enter #6673

Open
opened 2026-01-31 00:44:27 +00:00 by claunia · 11 comments
Owner

Originally created by @xmha97 on GitHub (Mar 1, 2020).

Hello, I know this app will full-screen with Alt+Enter and F11
Please add a new keyboard shortcut for full-screen: Win+Shift+Enter
Why?! Because all universal apps became full-screen with Win+Shift+Enter
Thanks.

Originally created by @xmha97 on GitHub (Mar 1, 2020). Hello, I know this app will full-screen with `Alt`+`Enter` and `F11` Please add a new keyboard shortcut for full-screen: `Win`+`Shift`+`Enter` Why?! Because all universal apps became full-screen with `Win`+`Shift`+`Enter` Thanks.
claunia added the Issue-TaskProduct-TerminalArea-UserInterface labels 2026-01-31 00:44:27 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 2, 2020):

I suppose if other UWP apps use this keybinding, then we could too. The system already set a precedent that this key chord is used for that, so we could use it too, I don't feel bad about hijacking it in this case.

@zadjii-msft commented on GitHub (Mar 2, 2020): I suppose if other UWP apps use this keybinding, then we could too. The system already set a precedent that this key chord is used for that, so we could use it too, I don't feel bad about hijacking it in this case.
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 6, 2020):

Yeah, I don't see why not.

@DHowett-MSFT commented on GitHub (Mar 6, 2020): Yeah, I don't see why not.
Author
Owner

@abhijeetviswam commented on GitHub (Mar 14, 2020):

I was trying to work this out, however I found that currently there is no support for windows key modifier. Also based on comments in #4329, there's no plan to implement it.

I'm wondering how we can bring in this feature if the modifier cannot be added. Does the terminal support any win key based shortcuts right now?

@abhijeetviswam commented on GitHub (Mar 14, 2020): I was trying to work this out, however I found that currently there is no support for windows key modifier. Also based on comments in #4329, there's no plan to implement it. I'm wondering how we can bring in this feature if the modifier cannot be added. Does the terminal support any win key based shortcuts right now?
Author
Owner

@zadjii-msft commented on GitHub (Mar 16, 2020):

Since Win+Shift+Enter is a system keybinding that's usually bound to fullscreen UWP applications, we can special-case that keybinding to fullscreen the Terminal, so it behaves like other apps on the system. It would not be a general-purpose "users can bind the Win key", it would be a one-off special case.

@zadjii-msft commented on GitHub (Mar 16, 2020): Since Win+Shift+Enter is a _system_ keybinding that's usually bound to fullscreen UWP applications, we can special-case that keybinding to fullscreen the Terminal, so it behaves like other apps on the system. It would not be a general-purpose "users can bind the <kbd>Win</kbd> key", it would be a one-off special case.
Author
Owner

@neville-nazerane commented on GitHub (May 20, 2020):

Powershell and command prompt have fullscreen on alt + shift + enter. How about staying consistent with them?

@neville-nazerane commented on GitHub (May 20, 2020): Powershell and command prompt have fullscreen on alt + shift + enter. How about staying consistent with them?
Author
Owner

@DHowett commented on GitHub (May 20, 2020):

Uh, powershell and command prompt have fullscreen on alt+enter. Terminal does too. It works today.

@DHowett commented on GitHub (May 20, 2020): Uh, powershell and command prompt have fullscreen on _alt+enter_. Terminal does too. It works today.
Author
Owner

@neville-nazerane commented on GitHub (May 20, 2020):

By habit from visual studio I always only tried alt + shift + enter. Never realized just shift + enter worked. Makes sense now, Thanks!

So basically, in that case, there is kind of a bug where holding an additional key doesn't work in the terminal but does in command prompt and powershell.

@neville-nazerane commented on GitHub (May 20, 2020): By habit from visual studio I always only tried alt + shift + enter. Never realized just shift + enter worked. Makes sense now, Thanks! So basically, in that case, there is kind of a bug where holding an additional key doesn't work in the terminal but does in command prompt and powershell.
Author
Owner

@hessedoneen commented on GitHub (Apr 7, 2021):

Hello! Could I give this a shot?

@hessedoneen commented on GitHub (Apr 7, 2021): Hello! Could I give this a shot?
Author
Owner

@zadjii-msft commented on GitHub (Apr 7, 2021):

@hessedoneen Sure, go for it!

With this one, I probably would skip adding this as a whole proper keybinding. The TerminalApp layer, where most other keybindings are handled, doesn't know anything about the win key. We might need to handle this up in IslandWindow, and cause that to trigger entering fullscreen mode.

@zadjii-msft commented on GitHub (Apr 7, 2021): @hessedoneen Sure, go for it! With this one, I probably would skip adding this as a whole proper keybinding. The `TerminalApp` layer, where most other keybindings are handled, doesn't know anything about the <kbd>win</kbd> key. We might need to handle this up in `IslandWindow`, and cause that to trigger entering fullscreen mode.
Author
Owner

@zadjii-msft commented on GitHub (May 21, 2021):

Oh uh, this might be harder than I thought.

I thought it would be as easy as slapping

        { "command": "toggleFullscreen", "keys": "win+shift+enter" },

into defaults.json.

I'm not sure that we ever get the Win+Shift+Enter keystroke to our wndproc. That would certainly make this harder. We might need to follow-up internally to see where that keystroke is getting eaten by the OS, and see if we can let it still get passed to apps.

@zadjii-msft commented on GitHub (May 21, 2021): Oh uh, this might be harder than I thought. I thought it would be as easy as slapping ```json { "command": "toggleFullscreen", "keys": "win+shift+enter" }, ``` into `defaults.json`. I'm not sure that we ever get the <kbd>Win+Shift+Enter</kbd> keystroke to our wndproc. That would certainly make this harder. We might need to follow-up internally to see where that keystroke is getting eaten by the OS, and see if we can let it still get passed to apps.
Author
Owner

@DragNovus commented on GitHub (Feb 9, 2023):

Hello, I know this app will full-screen with Alt+Enter and F11 Please add a new keyboard shortcut for full-screen: Win+Shift+Enter Why?! Because all universal apps became full-screen with Win+Shift+Enter Thanks.

Win+Shift+Enter is already in use
https://defkey.com/what-means/win-shift-enter

@DragNovus commented on GitHub (Feb 9, 2023): > Hello, I know this app will full-screen with `Alt`+`Enter` and `F11` Please add a new keyboard shortcut for full-screen: `Win`+`Shift`+`Enter` Why?! Because all universal apps became full-screen with `Win`+`Shift`+`Enter` Thanks. `Win`+`Shift`+`Enter` is already in use https://defkey.com/what-means/win-shift-enter
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6673