mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 09:48:09 +02:00
Expose parameter in boss.py as well
This commit is contained in:
@@ -532,13 +532,13 @@ class Boss:
|
|||||||
for window in tab:
|
for window in tab:
|
||||||
self.close_window(window)
|
self.close_window(window)
|
||||||
|
|
||||||
def toggle_fullscreen(self) -> None:
|
def toggle_fullscreen(self, os_window_id: int = 0) -> None:
|
||||||
'@ac:win: Toggle the fullscreen status of the active OS Window'
|
'@ac:win: Toggle the fullscreen status of the specified or the active OS Window'
|
||||||
toggle_fullscreen()
|
toggle_fullscreen(os_window_id)
|
||||||
|
|
||||||
def toggle_maximized(self) -> None:
|
def toggle_maximized(self, os_window_id: int = 0) -> None:
|
||||||
'@ac:win: Toggle the maximized status of the active OS Window'
|
'@ac:win: Toggle the maximized status of the specified or the active OS Window'
|
||||||
toggle_maximized()
|
toggle_maximized(os_window_id)
|
||||||
|
|
||||||
def start(self, first_os_window_id: int) -> None:
|
def start(self, first_os_window_id: int) -> None:
|
||||||
if not getattr(self, 'io_thread_started', False):
|
if not getattr(self, 'io_thread_started', False):
|
||||||
|
|||||||
Reference in New Issue
Block a user