mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-20 06:05:16 +00:00
py3.8 compat
This commit is contained in:
parent
04690c8c7c
commit
c7fa6f620a
1 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ class TabBarData(NamedTuple):
|
|||
title: str
|
||||
is_active: bool
|
||||
needs_attention: bool
|
||||
tab_ref: ReferenceType['Tab']
|
||||
tab_ref: "ReferenceType['Tab']"
|
||||
num_windows: int
|
||||
num_window_groups: int
|
||||
layout_name: str
|
||||
|
|
@ -180,7 +180,7 @@ def template_has_field(template: str, field: str) -> bool:
|
|||
|
||||
class TabCWD:
|
||||
|
||||
def __init__(self, tab_ref: ReferenceType['Tab']):
|
||||
def __init__(self, tab_ref: "ReferenceType['Tab']"):
|
||||
self.tab_ref = tab_ref
|
||||
self.saved_val: Optional[str] = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue