Fix type signature
This commit is contained in:
parent
66bf39db93
commit
25e9ddb4a4
1 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@
|
|||
Sequence, Tuple, Union, cast
|
||||
)
|
||||
|
||||
from .borders import Borders
|
||||
from .borders import Border, Borders
|
||||
from .child import Child
|
||||
from .cli_stub import CLIOptions
|
||||
from .constants import appname, kitty_exe
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
mark_tab_bar_dirty, next_window_id, remove_tab, remove_window, ring_bell,
|
||||
set_active_tab, set_active_window, swap_tabs, sync_os_window_title
|
||||
)
|
||||
from .layout.base import Layout, Rect
|
||||
from .layout.base import Layout
|
||||
from .layout.interface import create_layout_object_for, evict_cached_layouts
|
||||
from .tab_bar import TabBar, TabBarData
|
||||
from .types import ac
|
||||
|
|
@ -935,7 +935,7 @@ def activate_tab_at(self, x: int, is_double: bool = False) -> None:
|
|||
self.set_active_tab_idx(i)
|
||||
|
||||
@property
|
||||
def tab_bar_rects(self) -> Tuple[Rect, ...]:
|
||||
def tab_bar_rects(self) -> Tuple[Border, ...]:
|
||||
return self.tab_bar.blank_rects if self.tab_bar_should_be_visible else ()
|
||||
|
||||
def destroy(self) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue