mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-10 01:41:16 +00:00
...
This commit is contained in:
parent
c3f5b20ca7
commit
95aad91a49
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue