mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Copy cwd when taking over tab
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user