...
This commit is contained in:
parent
c3f5b20ca7
commit
95aad91a49
@ -355,6 +355,12 @@ class TabManager: # {{{
|
||||
def active_tab(self):
|
||||
return self.tabs[self.active_tab_idx] if self.tabs else None
|
||||
|
||||
@property
|
||||
def active_window(self):
|
||||
t = self.active_tab
|
||||
if t is not None:
|
||||
return t.active_window
|
||||
|
||||
def move_tab(self, delta=1):
|
||||
if len(self.tabs) > 1:
|
||||
idx = self.active_tab_idx
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user