1
0
Fork 0

fix tab_bar error

This commit is contained in:
Luca Bilke 2022-07-26 19:11:32 +02:00
parent 9b3bd19ce5
commit 7208a8b392

View file

@ -3,6 +3,7 @@ from kitty.boss import get_boss
from kitty.fast_data_types import Screen, add_timer, get_options
from kitty.tab_bar import (
DrawData,
ExtraData,
Formatter,
TabBarData,
as_rgb,
@ -172,6 +173,7 @@ def draw_tab(
max_title_length: int,
index: int,
is_last: bool,
_: ExtraData,
) -> int:
global timer_id
if timer_id is None: