diff --git a/kitty/fonts/__init__.py b/kitty/fonts/__init__.py index c134a1cf2..685148f80 100644 --- a/kitty/fonts/__init__.py +++ b/kitty/fonts/__init__.py @@ -200,9 +200,7 @@ class FontSpec(NamedTuple): def __str__(self) -> str: return self.as_setting - def __repr__(self) -> str: - return repr(str(self)) - + # Cannot change __repr__ as it will break config generation Descriptor = Union[FontConfigPattern, CoreTextFont] diff --git a/kitty/options/parse.py b/kitty/options/parse.py index 93dbd9899..f45d24a4c 100644 --- a/kitty/options/parse.py +++ b/kitty/options/parse.py @@ -17,8 +17,9 @@ from kitty.options.utils import ( paste_actions, remote_control_password, resize_debounce_time, scrollback_lines, scrollback_pager_history_size, shell_integration, store_multiple, symbol_map, tab_activity_symbol, tab_bar_edge, tab_bar_margin_height, tab_bar_min_tabs, tab_fade, tab_font_style, tab_separator, - tab_title_template, titlebar_color, to_cursor_shape, to_font_size, to_layout_names, to_modifiers, - url_prefixes, url_style, visual_window_select_characters, window_border_width, window_size, window_logo_scale + tab_title_template, titlebar_color, to_cursor_shape, to_cursor_unfocused_shape, to_font_size, + to_layout_names, to_modifiers, url_prefixes, url_style, visual_window_select_characters, + window_border_width, window_logo_scale, window_size )