Also report -2 in query response

This commit is contained in:
Kovid Goyal
2025-08-25 15:30:36 +05:30
parent 14741b1b29
commit 518e06cfa4
3 changed files with 9 additions and 8 deletions

View File

@@ -1595,7 +1595,7 @@ class TestScreen(BaseTest):
c = s.callbacks
# Test detection
parse_bytes(s, b'\x1b[> q') # ]
self.ae(c.wtcbuf, b'\x1b[>-1;1;2;3 q') # ]
self.ae(c.wtcbuf, b'\x1b[>-2;-1;1;2;3 q') # ]
def current() -> dict[int, tuple[int, int]]:
ans = {}