mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 13:34:48 +02:00
Start work on options for tab bar vertical margins
Create the option, now need to implement it.
This commit is contained in:
9
kitty/options/parse.py
generated
9
kitty/options/parse.py
generated
@@ -14,9 +14,9 @@ from kitty.options.utils import (
|
||||
edge_width, env, font_features, hide_window_decorations, kitten_alias, macos_option_as_alt,
|
||||
macos_titlebar_color, optional_edge_width, parse_map, parse_mouse_map, resize_draw_strategy,
|
||||
scrollback_lines, scrollback_pager_history_size, symbol_map, tab_activity_symbol, tab_bar_edge,
|
||||
tab_bar_min_tabs, tab_fade, tab_font_style, tab_separator, tab_title_template, to_cursor_shape,
|
||||
to_font_size, to_layout_names, to_modifiers, url_prefixes, url_style, window_border_width,
|
||||
window_size
|
||||
tab_bar_margin_height, tab_bar_min_tabs, tab_fade, tab_font_style, tab_separator,
|
||||
tab_title_template, to_cursor_shape, to_font_size, to_layout_names, to_modifiers, url_prefixes,
|
||||
url_style, window_border_width, window_size
|
||||
)
|
||||
|
||||
|
||||
@@ -1149,6 +1149,9 @@ class Parser:
|
||||
def tab_bar_edge(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
|
||||
ans['tab_bar_edge'] = tab_bar_edge(val)
|
||||
|
||||
def tab_bar_margin_height(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
|
||||
ans['tab_bar_margin_height'] = tab_bar_margin_height(val)
|
||||
|
||||
def tab_bar_margin_width(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
|
||||
ans['tab_bar_margin_width'] = positive_float(val)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user