-
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
Enable fullscreen mode #3408
Enable fullscreen mode #3408
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Michael beat me to most/all of these. Mostly comment nits on my end though.
…reen-but-on-master
…reen-but-on-master # Conflicts: # src/cascadia/TerminalApp/TerminalPage.h
(I'm holding this for #3394, because that PR is great, and I'll deal with the merge conflicts myself) |
# Conflicts: # src/cascadia/WindowsTerminal/IslandWindow.h # src/cascadia/WindowsTerminal/NonClientIslandWindow.cpp # src/cascadia/WindowsTerminal/NonClientIslandWindow.h
🎉 Handy links: |
Summary of the Pull Request
Enables the
toggleFullscreen
action to be able to enter fullscreen mode, bound by default to alt+enter.The action is bubbled up to the WindowsTerminal (Win32) layer, where the window resizes itself to take the entire size of the monitor.
This largely reuses code from conhost. Conhost already had a fullscreen mode, so I figured I might as well re-use that.
References
Unfortunately there are still very thin borders around the window when the NonClientIslandWindow is fullscreened. I think I know where the problem is. However, that area of code is about to get a massive overhaul with #3064, so I didn't want to necessarily make it worse right now.
A follow up should be filed to add support for "Always show / reveal / never show tabs in fullscreen mode". Currently, the only mode is "never show tabs".
Additionally, some of this code (particularily re:drawing the nonclient area) could be re-used for #2238.
PR Checklist
showTabsInTitlebar
set to true, the window border is still visible #3411Validation Steps Performed