We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents baf6309 + db0335b commit bd9eb78Copy full SHA for bd9eb78
tests/text_area/test_selection_bindings.py
@@ -255,7 +255,7 @@ async def test_cursor_page_down(app: TextAreaApp):
255
await pilot.press("pagedown")
256
margin = 2
257
assert text_area.selection == Selection.cursor(
258
- (app.console.height - 1 - margin, 1)
+ (app.size.height - margin, 1)
259
)
260
261
@@ -268,7 +268,7 @@ async def test_cursor_page_up(app: TextAreaApp):
268
await pilot.press("pageup")
269
270
271
- (100 - app.console.height + 1 + margin, 1)
+ (100 - app.size.height + margin, 1)
272
273
274
0 commit comments