Skip to content

Commit f353131

Browse files
committed
Fix #2433
1 parent 7c4a2ba commit f353131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kitty/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def launch(boss: Boss, opts: LaunchCLIOptions, args: List[str], target_tab: Opti
261261
set_primary_selection(stdin)
262262
else:
263263
tab = tab_for_window(boss, opts, target_tab)
264-
if tab:
264+
if tab is not None:
265265
new_window: Window = tab.new_window(env=env or None, **kw)
266266
if opts.keep_focus and active:
267267
boss.set_active_window(active, switch_os_window_if_needed=True)

0 commit comments

Comments
 (0)