Skip to content
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

Adding maximize option #126

Merged
merged 1 commit into from
Jun 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/terminator.1
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Show the version of the Terminator installation
.TP
.B \-m, \-\-maximise
Start with a maximised window
.B \-M, \-\-maximize
Start with a maximized window
.TP
.B \-f, \-\-fullscreen
Start with a fullscreen window
Expand Down
2 changes: 2 additions & 0 deletions terminatorlib/optionparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def parse_options():
help=_('Display program version'))
parser.add_option('-m', '--maximise', action='store_true', dest='maximise',
help=_('Maximize the window'))
parser.add_option('-M', '--maximize', action='store_true', dest='maximise',
help=_('Maximize the window'))
parser.add_option('-f', '--fullscreen', action='store_true',
dest='fullscreen', help=_('Make the window fill the screen'))
parser.add_option('-b', '--borderless', action='store_true',
Expand Down