Skip to content

Commit 79a6fcd

Browse files
committed
Oops
1 parent 90bcbbf commit 79a6fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kitty/boss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@ def detach_tab(self, *args):
12501250
lines.append(fmt.format(new_idx, 'New OS Window'))
12511251

12521252
def done(data, target_window_id, self):
1253-
done.os_window_id = os_window_id_map[int(data['match'][0].partition(' ')[0])]
1253+
done.os_window_id = os_window_id_map[int(data['groupdicts'][0]['index']) + 1]
12541254

12551255
def done2(target_window_id, self):
12561256
if not hasattr(done, 'os_window_id'):

0 commit comments

Comments
 (0)