From e4668c1affe003b20363c15655a9480f6e4e345f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 4 Aug 2017 20:47:59 +0530 Subject: [PATCH] Replay set_dynamic_color and set_color_table_color --- kitty/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/client.py b/kitty/client.py index 23e00b30c..a0f05bf0b 100644 --- a/kitty/client.py +++ b/kitty/client.py @@ -125,14 +125,14 @@ def write_osc(code, string=''): write(OSC + str(code) + string + '\x07') -set_dynamic_color = write_osc +set_dynamic_color = set_color_table_color = write_osc def replay(raw): for line in raw.splitlines(): if line.strip(): cmd, rest = line.partition(' ')[::2] - if cmd in {'draw', 'set_title', 'set_icon'}: + if cmd in {'draw', 'set_title', 'set_icon', 'set_dynamic_color', 'set_color_table_color'}: globals()[cmd](rest) else: rest = map(int, rest.split()) if rest else ()