mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 00:38:10 +02:00
Allow setting color table value to none via OSC 21
This commit is contained in:
@@ -1616,6 +1616,9 @@ class TestScreen(BaseTest):
|
||||
q({'selection_background': ''})
|
||||
self.assertIsNone(s.color_profile.highlight_bg)
|
||||
q({'selection_background': '?'}, {'selection_background': ''})
|
||||
opts = self.set_options({'palette_generate': 'semantic'})
|
||||
q({'213': ''})
|
||||
q({'213': '?'}, {'213': Color(216, 125, 215)})
|
||||
s.color_profile.reload_from_opts(opts)
|
||||
q({'transparent_background_color9': '?'}, {'transparent_background_color9': '?'})
|
||||
q({'transparent_background_color2': '?'}, {'transparent_background_color2': ''})
|
||||
|
||||
Reference in New Issue
Block a user