From 4ac2312b2ab2ffed08483b4018e4ee7432d15f3b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 12 Apr 2022 06:33:35 +0530 Subject: [PATCH] Fix #4954 --- kitty/rc/close_tab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/rc/close_tab.py b/kitty/rc/close_tab.py index 95b2323b9..57694f3e5 100644 --- a/kitty/rc/close_tab.py +++ b/kitty/rc/close_tab.py @@ -69,7 +69,7 @@ others-in-os-window is the same as others except restricted to the OS window thi for tab in tm: if tab is not avoid: boss.close_tab_no_confirm(tab) - if g: + if g != 'none': return None for tab in self.tabs_for_match_payload(boss, window, payload_get): if tab: