From 3ec93e0b4e1d81520d7780c27f90a0c47fbf6b7f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 7 Apr 2022 15:29:15 +0530 Subject: [PATCH] Fix #4932 --- kitty/tabs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/tabs.py b/kitty/tabs.py index c9e0fb43e..357291ad7 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -961,6 +961,8 @@ class TabManager: # {{{ location = 'after' if location == 'neighbor': location = 'after' + if location == 'default': + location = 'last' if len(self.tabs) > 1 and location != 'last': if location == 'first': desired_idx = 0