This commit is contained in:
Kovid Goyal 2025-04-29 09:02:54 +05:30
parent 56a0596bea
commit 840148c2b8
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -274,8 +274,9 @@ def create_sessions(
ans.add_tab(opts)
ans.tabs[-1].layout = current_layout
if args is not None:
ans.os_window_class = args.cls
ans.os_window_name = args.name
with suppress(AttributeError): # macOS
ans.os_window_class = args.cls
ans.os_window_name = args.name
if special_window is None:
cmd = args.args if args and args.args else resolved_shell(opts)
from kitty.tabs import SpecialWindow