mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 19:47:21 +03:00
Fix scrolling selection tests
This commit is contained in:
parent
42d1a4755a
commit
9a67176719
@ -184,13 +184,13 @@ def scroll(x=0, y=0, up=True):
|
||||
|
||||
# scrolling
|
||||
init()
|
||||
press(x=1)
|
||||
scroll(x=1.6)
|
||||
press(x=1.6)
|
||||
scroll(x=1)
|
||||
self.ae(sel(), 'LMNO12')
|
||||
scroll(x=1)
|
||||
self.ae(sel(), 'GHIJKLMNO12')
|
||||
scroll(x=1, up=False)
|
||||
self.ae(sel(), 'LMNO12')
|
||||
scroll(x=2, up=False)
|
||||
self.ae(sel(), '23')
|
||||
scroll(x=2.6, up=False)
|
||||
self.ae(sel(), '3')
|
||||
release()
|
||||
|
Loading…
Reference in New Issue
Block a user