Fix no cursor position update after drawing small amounts of text

This commit is contained in:
Kovid Goyal
2016-11-18 16:46:04 +05:30
parent 14c6d327fd
commit 6293b37ead
2 changed files with 3 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ class TestScreen(BaseTest):
pb('12', '12')
self.ae(str(s.line(0)), '12 ')
self.ae(s.cursor.x, 2)
pb('3456', '3456')
self.ae(str(s.line(0)), '12345')
self.ae(str(s.line(1)), '6 ')