diff --git a/kitty/options/definition.py b/kitty/options/definition.py index 6cfed2f66..66ca814d6 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -1501,7 +1501,7 @@ option_type='to_color_or_none', ctype='color_or_none_as_int', long_text=''' Foreground color for the active window title bar. Defaults to -:opt:`active_tab_foreground` when set to :code:`none`. +the corresponding tab bar color (:code:`active_tab_foreground`) when set to :code:`none`. ''' ) @@ -1509,7 +1509,7 @@ option_type='to_color_or_none', ctype='color_or_none_as_int', long_text=''' Background color for the active window title bar. Defaults to -:opt:`active_tab_background` when set to :code:`none`. +the corresponding tab bar color (:code:`active_tab_background`) when set to :code:`none`. ''' ) @@ -1517,7 +1517,7 @@ option_type='to_color_or_none', ctype='color_or_none_as_int', long_text=''' Foreground color for inactive window title bars. Defaults to -:opt:`inactive_tab_foreground` when set to :code:`none`. +the corresponding tab bar color (:code:`inactive_tab_foreground`) when set to :code:`none`. ''' ) @@ -1525,7 +1525,7 @@ option_type='to_color_or_none', ctype='color_or_none_as_int', long_text=''' Background color for inactive window title bars. Defaults to -:opt:`inactive_tab_background` when set to :code:`none`. +the corresponding tab bar color (:code:`inactive_tab_background`) when set to :code:`none`. ''' ) diff --git a/kitty/tabs.py b/kitty/tabs.py index 456f38a17..119a9e7a4 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -15,7 +15,6 @@ from typing import Any, Concatenate, Deque, NamedTuple, Optional, ParamSpec, TypeVar, cast from .borders import Border, Borders -from .window_title_bar import WindowTitleBarManager from .child import Child from .cli_stub import CLIOptions, SaveAsSessionOptions from .constants import appname @@ -62,6 +61,7 @@ from .utils import cmdline_for_hold, color_as_int, log_error, platform_window_id, resolved_shell, shlex_split, which from .window import CwdRequest, Watchers, Window, WindowCreationSpec, WindowDict, global_watchers from .window_list import WindowList +from .window_title_bar import WindowTitleBarManager P = ParamSpec('P') T = TypeVar('T')