mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 09:48:09 +02:00
Add parse test for CSI 14;2 t
This commit is contained in:
@@ -769,8 +769,9 @@ class TestParser(BaseTest):
|
|||||||
self.ae(c.wtcbuf, b'\033[?1;2$y')
|
self.ae(c.wtcbuf, b'\033[?1;2$y')
|
||||||
pb('\033[2;4r', ('screen_set_margins', 2, 4))
|
pb('\033[2;4r', ('screen_set_margins', 2, 4))
|
||||||
c.clear()
|
c.clear()
|
||||||
pb('\033[14t', ('screen_report_size', 14))
|
pb('\033[14t', ('screen_report_size', 14, 0))
|
||||||
self.ae(c.wtcbuf, b'\033[4;100;50t')
|
pb('\033[14;2t', ('screen_report_size', 14, 2))
|
||||||
|
self.ae(c.wtcbuf, b'\033[4;100;50t\033[4;100;50t')
|
||||||
self.ae(s.margin_top, 1), self.ae(s.margin_bottom, 3)
|
self.ae(s.margin_top, 1), self.ae(s.margin_bottom, 3)
|
||||||
pb('\033[r', ('screen_set_margins', 0, 0))
|
pb('\033[r', ('screen_set_margins', 0, 0))
|
||||||
self.ae(s.margin_top, 0), self.ae(s.margin_bottom, 4)
|
self.ae(s.margin_top, 0), self.ae(s.margin_bottom, 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user