From 898395253b988e21626a970cafd2030602d3b78e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 12 Dec 2017 18:50:37 +0530 Subject: [PATCH] Add test for ignored color id in SGR colon based color sequence --- kitty_tests/screen.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kitty_tests/screen.py b/kitty_tests/screen.py index a5082a254..fd6bd6624 100644 --- a/kitty_tests/screen.py +++ b/kitty_tests/screen.py @@ -317,6 +317,11 @@ class TestScreen(BaseTest): c = s.line(1).cursor_from(0) self.ae(c.fg, (5 << 8) | 1) self.ae(c.bg, 0) + s.cursor_position(2, 2) + s.select_graphic_rendition(38, 2, 99, 1, 2, 3) + s.draw('c') + c = s.line(1).cursor_from(1) + self.ae(c.fg, (1 << 24) | (2 << 16) | (3 << 8) | 2) def test_cursor_hidden(self): s = self.create_screen()