mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-09 03:49:27 +00:00
Properly sanitize pagerhist when returning as plain text
This commit is contained in:
parent
53716c084b
commit
711f8b024e
2 changed files with 9 additions and 5 deletions
|
|
@ -1085,4 +1085,4 @@ class TestScreen(BaseTest):
|
|||
s = self.create_screen()
|
||||
draw_prompt('p1')
|
||||
draw_output(30)
|
||||
self.ae(tuple(map(int, lco()[len('\x1b]133;C\x1b\\'):].split())), tuple(range(0, 30)))
|
||||
self.ae(tuple(map(int, lco().split())), tuple(range(0, 30)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue