Skip to content

Commit a9d451d

Browse files
committed
running out of ideas
1 parent 167af7e commit a9d451d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/textual/widgets/_footer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def compose(self) -> ComposeResult:
326326
tooltip=binding.tooltip or binding.description,
327327
)
328328

329-
async def bindings_changed(self, screen: Screen) -> None:
329+
def bindings_changed(self, screen: Screen) -> None:
330330
self._bindings_ready = True
331331
if not screen.app.app_focus:
332332
return

tests/test_modal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ async def test_modal_pop_screen():
9494
# Check clicking the footer brings up the quit screen
9595
assert await pilot.click(offset=(1, app.size.height - 1))
9696
await app.wait_for_refresh()
97+
await pilot.pause()
9798
assert isinstance(pilot.app.screen, QuitScreen)
9899
# Check activating the quit button exits the app
99100
await pilot.press("enter")

0 commit comments

Comments
 (0)