mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-24 18:07:01 +00:00
...
This commit is contained in:
parent
f04680ac47
commit
e6e339fcd3
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ def tab_for_window(boss: Boss, opts: LaunchCLIOptions, target_tab: Optional[Tab]
|
|||
oswid = boss.add_os_window(wclass=opts.os_window_class, wname=opts.os_window_name)
|
||||
tm = boss.os_window_map[oswid]
|
||||
tab = tm.new_tab(empty_tab=True)
|
||||
if opts.tab_title:
|
||||
if opts.tab_title and tab is not None:
|
||||
tab.set_title(opts.tab_title)
|
||||
else:
|
||||
tab = target_tab or boss.active_tab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue