mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 05:35:19 +02:00
When attaching window make its parent tab active
This commit is contained in:
@@ -417,6 +417,11 @@ class Tab: # {{{
|
||||
|
||||
def __repr__(self):
|
||||
return 'Tab(title={}, id={})'.format(self.name or self.title, hex(id(self)))
|
||||
|
||||
def make_active(self):
|
||||
tm = self.tab_manager_ref()
|
||||
if tm is not None:
|
||||
tm.set_active_tab(self)
|
||||
# }}}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user