mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 15:35:03 +02:00
Make mypy happy
This commit is contained in:
@@ -142,7 +142,7 @@ class Tab: # {{{
|
|||||||
self.name = getattr(session_tab, 'name', '')
|
self.name = getattr(session_tab, 'name', '')
|
||||||
self.enabled_layouts = [x.lower() for x in getattr(session_tab, 'enabled_layouts', None) or get_options().enabled_layouts]
|
self.enabled_layouts = [x.lower() for x in getattr(session_tab, 'enabled_layouts', None) or get_options().enabled_layouts]
|
||||||
self.borders = Borders(self.os_window_id, self.id)
|
self.borders = Borders(self.os_window_id, self.id)
|
||||||
self.windows = WindowList(self)
|
self.windows: WindowList = WindowList(self)
|
||||||
self._last_used_layout: Optional[str] = None
|
self._last_used_layout: Optional[str] = None
|
||||||
self._current_layout_name: Optional[str] = None
|
self._current_layout_name: Optional[str] = None
|
||||||
self.cwd = self.args.directory
|
self.cwd = self.args.directory
|
||||||
|
|||||||
Reference in New Issue
Block a user