Add a new --start-in-fullscreen command line flag

Fixes #856
This commit is contained in:
Kovid Goyal 2018-09-05 07:36:13 +05:30
parent 547959c1ef
commit 1451a8ccc0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,9 @@ Changelog
0.12.1 [future]
------------------------------
- Add a new :option:`kitty --start-in-fullscreen` command line flag to start
kitty in fullscreen mode (:iss:`856`)
- macOS: Fix a character that cannot be rendered in any font causing
font fallback for all subsequent characters that cannot be rendered in the
main font to fail (:iss:`799`)

View File

@ -103,6 +103,8 @@ class Boss:
if new_os_window_trigger is not None:
self.keymap.pop(new_os_window_trigger, None)
self.add_os_window(startup_session, os_window_id=os_window_id)
if args.start_in_fullscreen:
self.toggle_fullscreen()
def add_os_window(self, startup_session, os_window_id=None, wclass=None, wname=None, opts_for_size=None, startup_id=None):
if os_window_id is None:

View File

@ -546,6 +546,11 @@ specify this address. This option will be ignored, unless you set
option as it is read automatically from the environment.
--start-in-fullscreen
type=bool-set
Make the initial kitty window fullscreen on startup
# Debugging options
--version -v