mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Fix a regression in the previous release that broke setting of nullable colors
This commit is contained in:
@@ -122,6 +122,8 @@ Detailed list of changes
|
||||
|
||||
- ssh kitten: Fix incorrect copying of data files when using the python interpreter and also fix incorrect hard link detection (:disc:`8308`)
|
||||
|
||||
- Fix a regression in the previous release that broke setting of nullable colors
|
||||
|
||||
0.39.1 [2025-02-01]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ def main(args: list[str]=sys.argv) -> None:
|
||||
all_colors.append(opt.name)
|
||||
patch_color_list('tools/cmd/at/set_colors.go', nullable_colors, 'NULLABLE')
|
||||
patch_color_list('tools/themes/collection.go', all_colors, 'ALL')
|
||||
nc = '\n '.join(f'{x!r}' for x in nullable_colors)
|
||||
nc = '\n, '.join(f'{x!r}' for x in nullable_colors)
|
||||
write_output('kitty', definition, f'\nnullable_colors = frozenset({{\n {nc}\n}})\n')
|
||||
|
||||
|
||||
|
||||
16
kitty/options/types.py
generated
16
kitty/options/types.py
generated
@@ -1045,15 +1045,15 @@ defaults.mouse_map = [
|
||||
|
||||
|
||||
nullable_colors = frozenset({
|
||||
'cursor'
|
||||
'cursor_text_color'
|
||||
'visual_bell_color'
|
||||
'active_border_color'
|
||||
'tab_bar_background'
|
||||
'tab_bar_margin_color'
|
||||
'selection_foreground'
|
||||
'cursor',
|
||||
'cursor_text_color',
|
||||
'visual_bell_color',
|
||||
'active_border_color',
|
||||
'tab_bar_background',
|
||||
'tab_bar_margin_color',
|
||||
'selection_foreground',
|
||||
'selection_background'
|
||||
})
|
||||
|
||||
|
||||
secret_options = ('remote_control_password', 'file_transfer_confirmation_bypass')
|
||||
secret_options = ('remote_control_password', 'file_transfer_confirmation_bypass')
|
||||
|
||||
Reference in New Issue
Block a user