mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 08:47:47 +02:00
Fix selections test failing due to pixel scroll
Note this only fixes the test, there is still the actual issue of the selection not being rendered for the top most line if that line is partially scrolled offscreen
This commit is contained in:
@@ -688,7 +688,7 @@ def test_multicell(self: TestMulticell) -> None:
|
||||
pos = y * s.columns
|
||||
for x in range(x1, x2 + 1):
|
||||
expected[pos + x] = bp
|
||||
for i, (e, a) in enumerate(zip(as_lists(bytes(expected)), as_lists(actual))):
|
||||
for i, (e, a) in enumerate(zip(as_lists(bytes(expected)), as_lists(actual)[1:])):
|
||||
self.ae(e, a, f'Row: {i}')
|
||||
|
||||
def ast(*expected, strip_trailing_whitespace=False, as_ansi=False):
|
||||
|
||||
Reference in New Issue
Block a user