diff --git a/kitty_tests/parser.py b/kitty_tests/parser.py index 84dde1671..923135f7d 100644 --- a/kitty_tests/parser.py +++ b/kitty_tests/parser.py @@ -94,16 +94,16 @@ class TestParser(BaseTest): pb('\033[?1000;1004h', ('screen_set_mode', 1000 << 5), ('screen_set_mode', 1004 << 5)) pb('\033[20;4;20l', ('screen_reset_mode', 20), ('screen_reset_mode', 4), ('screen_reset_mode', 20)) s.reset() - pb('\033[1;3;4;7;9;34;44m', ('select_graphic_rendition', 7)) + pb('\033[1;3;4;7;9;34;44m', ('select_graphic_rendition', '1 3 4 7 9 34 44 ')) for attr in 'bold italic reverse strikethrough'.split(): self.assertTrue(getattr(s.cursor, attr)) self.ae(s.cursor.decoration, 1) self.ae(s.cursor.fg, 4 << 8 | 1) self.ae(s.cursor.bg, 4 << 8 | 1) - pb('\033[38;5;1;48;5;7m', ('select_graphic_rendition', 6)) + pb('\033[38;5;1;48;5;7m', ('select_graphic_rendition', '38 5 1 48 5 7 ')) self.ae(s.cursor.fg, 1 << 8 | 1) self.ae(s.cursor.bg, 7 << 8 | 1) - pb('\033[38;2;1;2;3;48;2;7;8;9m', ('select_graphic_rendition', 10)) + pb('\033[38;2;1;2;3;48;2;7;8;9m', ('select_graphic_rendition', '38 2 1 2 3 48 2 7 8 9 ')) self.ae(s.cursor.fg, 1 << 24 | 2 << 16 | 3 << 8 | 2) self.ae(s.cursor.bg, 7 << 24 | 8 << 16 | 9 << 8 | 2) c = s.callbacks