Initial implementation of half cell based selection

This commit is contained in:
Kovid Goyal
2020-02-23 09:24:20 +05:30
parent 4512d0dbac
commit 6b1ea326a0
6 changed files with 224 additions and 146 deletions

View File

@@ -420,7 +420,7 @@ class TestScreen(BaseTest):
if i != 0:
s.carriage_return(), s.linefeed()
s.draw(str(i) * s.columns)
s.start_selection(0, 0, False)
s.start_selection(0, 0)
s.update_selection(4, 4)
expected = ('55555', '\n66666', '\n77777', '\n88888', '\n99999')
self.ae(s.text_for_selection(), expected)