mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
More word selection direction change fixes
This commit is contained in:
parent
c71d8fe1cc
commit
7d41aca0e4
2 changed files with 32 additions and 3 deletions
|
|
@ -169,6 +169,23 @@ class TestMouse(BaseTest):
|
|||
move(x=4.4, y=1)
|
||||
self.ae(sel(), 'gh')
|
||||
release()
|
||||
multi_click(x=4.4)
|
||||
self.ae(sel(), 'cd')
|
||||
move()
|
||||
self.ae(sel(), 'ab cd')
|
||||
move(x=1, y=1)
|
||||
self.ae(sel(), 'ab cd f')
|
||||
move()
|
||||
self.ae(sel(), 'ab cd')
|
||||
release()
|
||||
multi_click(x=1.4)
|
||||
self.ae(sel(), 'ab')
|
||||
move(x=4.4)
|
||||
self.ae(sel(), 'ab cd')
|
||||
move(x=4.4, y=1)
|
||||
self.ae(sel(), 'ab cd f gh')
|
||||
move(x=4.4)
|
||||
self.ae(sel(), 'ab cd')
|
||||
|
||||
# Line select with drag
|
||||
s.reset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue