-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Add support for --fullscreen
, --maximized
#6139
Conversation
Oh, so one the target branch was closed, this can't get re-targeted anymore? That's... good to know |
I just saw that GitHub had a new feature that automatically changed branch targeting if you did this, so I wonder why it didn’t work |
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.
Overall looks fine to me.
…screen # Conflicts: # src/cascadia/TerminalApp/TerminalPage.cpp
Hello @zadjii-msft! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
🎉 Handy links: |
Summary of the Pull Request
Adds two new flags to the
wt.exe
alias:--maximized,-M
: Launch the new Terminal window maximized. This flag cannot be combined with--fullscreen
.--fullscreen,-F
: Launch the new Terminal window fullscreen. This flag cannot be combined with--maximized
.References
launchMode
#6060.PR Checklist
Detailed Description of the Pull Request / Additional comments
I had to move the commandline arg parsing up a layer from
TerminalPage
toAppLogic
, becauseAppLogic
controls the Terminal's settings, including launch mode settings. This seems like a reasonable change, to put both the settings from the file and the commandline in the same place."What happens when you try to pass both flags, like
![image](https://user-images.githubusercontent.com/18356694/82679939-3cffde00-9c11-11ea-8d88-03ec7db83e59.png)
wtd -M -F new-tab
?":Validation Steps Performed