This commit is contained in:
Kovid Goyal 2025-01-17 20:28:59 +05:30
parent 8931062a70
commit 9bf44f0b85
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -628,7 +628,7 @@ def layout_action(self, action_name: str, args: Sequence[str], all_windows: Wind
count = 0
for wid in self.pairs_root.all_window_ids():
count += 1
if count > 1:
if count > 2:
break
if count > 1:
args = args or ('left',)