mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Fix #4932
This commit is contained in:
@@ -961,6 +961,8 @@ class TabManager: # {{{
|
|||||||
location = 'after'
|
location = 'after'
|
||||||
if location == 'neighbor':
|
if location == 'neighbor':
|
||||||
location = 'after'
|
location = 'after'
|
||||||
|
if location == 'default':
|
||||||
|
location = 'last'
|
||||||
if len(self.tabs) > 1 and location != 'last':
|
if len(self.tabs) > 1 and location != 'last':
|
||||||
if location == 'first':
|
if location == 'first':
|
||||||
desired_idx = 0
|
desired_idx = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user