Dont copy prompt start bits to multiple lines when resizing the screen

This makes it unnecessary to modify the prompt marking protocol to
distinguish consecutive prompts without output in between
This commit is contained in:
Kovid Goyal
2021-11-07 18:00:06 +05:30
parent f48a430493
commit c43637f6cc
3 changed files with 2 additions and 11 deletions

View File

@@ -955,7 +955,7 @@ class TestScreen(BaseTest):
s.carriage_return(), s.index()
s.draw(str(i))
self.assertTrue(s.scroll_to_prompt())
self.ae(str(s.visual_line(0)), '$ 0')
self.ae(str(s.visual_line(0)), '$ 1')
def lco():
a = []