Fix a regression in 0.17 that caused kitty @ set-colors to require setting cursor_text_color
Fixes #2470
This commit is contained in:
parent
bf7c26d357
commit
c2957e7f12
@ -15,6 +15,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
||||
- macOS: Fix a regression in 0.17 that caused incorrect variants to be
|
||||
automatically selected for some fonts (:iss:`2462`)
|
||||
|
||||
- Fix a regression in 0.17 that caused kitty @ set-colors to require setting
|
||||
cursor_text_color (:iss:`2470`)
|
||||
|
||||
|
||||
0.17.0 [2020-03-24]
|
||||
--------------------
|
||||
|
||||
@ -69,7 +69,7 @@ this option, any color arguments are ignored and --configured and --all are impl
|
||||
else:
|
||||
with open(os.path.expanduser(spec), encoding='utf-8', errors='replace') as f:
|
||||
colors.update(parse_config(f))
|
||||
ctc = colors.pop('cursor_text_color')
|
||||
ctc = colors.pop('cursor_text_color', None)
|
||||
if isinstance(ctc, Color):
|
||||
cursor_text_color = color_as_int(ctc)
|
||||
final_colors = {k: color_as_int(v) for k, v in colors.items() if isinstance(v, Color)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user