mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-10 22:24:24 +02:00
Implement DECRQM
Also add tests for DECRQM and DECCKM
This commit is contained in:
@@ -132,6 +132,13 @@ class TestParser(BaseTest):
|
||||
c.clear()
|
||||
pb('\033[6n', ('report_device_status', 6, 0))
|
||||
self.ae(c.wtcbuf, b'\033[2;1R')
|
||||
c.clear()
|
||||
pb('\033[?1$p', ('report_mode_status', 1, 1))
|
||||
self.ae(c.wtcbuf, b'\033[?1;1$y')
|
||||
pb('\033[?1l', ('screen_reset_mode', 1, 1))
|
||||
c.clear()
|
||||
pb('\033[?1$p', ('report_mode_status', 1, 1))
|
||||
self.ae(c.wtcbuf, b'\033[?1;2$y')
|
||||
pb('\033[2;4r', ('screen_set_margins', 2, 4))
|
||||
self.ae(s.margin_top, 1), self.ae(s.margin_bottom, 3)
|
||||
pb('\033[r', ('screen_set_margins', 0, 0))
|
||||
|
||||
Reference in New Issue
Block a user