diff --git a/kitty/window.py b/kitty/window.py index 291b3c21a..18a9f3c5f 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -805,7 +805,7 @@ class Window: return tab.overlay_parent(self) @property - def current_colors(self) -> dict[str, Optional[int | tuple[tuple[Color, float], ...]]]: + def current_colors(self) -> dict[str, Union[int, None, tuple[tuple[Color, float], ...]]]: return self.screen.color_profile.as_dict() @property