From d1a5d3023359f559f7cb4c9d156c317fd1d613f1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 12 Apr 2020 16:54:38 +0530 Subject: [PATCH] Add another test for marking --- kitty_tests/screen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty_tests/screen.py b/kitty_tests/screen.py index 0007fb42c..f29215f44 100644 --- a/kitty_tests/screen.py +++ b/kitty_tests/screen.py @@ -499,6 +499,8 @@ class TestScreen(BaseTest): self.ae(s.marked_cells(), cells(0, 1)) s.set_marker(marker_from_regex('🐈a', 3)) self.ae(s.marked_cells(), cells(0, 1, 2)) + s.set_marker(marker_from_regex('a', 3)) + self.ae(s.marked_cells(), cells(2)) s = self.create_screen(cols=20) s.tab() s.draw('ab')