mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 20:52:19 +00:00
Copy cwd when taking over tab
This commit is contained in:
parent
cab87f6fb2
commit
5dc14c5861
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class Tab: # {{{
|
|||
self.startup(session_tab)
|
||||
|
||||
def take_over_from(self, other_tab):
|
||||
self.name = getattr(other_tab, 'name', '')
|
||||
self.name, self.cwd = other_tab.name, other_tab.cwd
|
||||
self.enabled_layouts = list(other_tab.enabled_layouts)
|
||||
self._set_current_layout(other_tab._current_layout_name)
|
||||
self._last_used_layout = other_tab._last_used_layout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue