Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
defaults:
run:
shell: bash
Expand All @@ -20,9 +20,9 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install and configure Poetry
uses: snok/install-poetry@v1.1.6
uses: snok/install-poetry@v1.3.3
with:
version: 1.1.6
version: 1.2.2
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install --extras "dev"
Expand Down
1 change: 1 addition & 0 deletions src/textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ async def press_keys() -> None:
await asyncio.sleep(0.02)

await app._animator.wait_for_idle()
await asyncio.sleep(0.05)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Windows, screenshots seemed to be slightly too early and the final key wasn't being processed. Not ideal of course, but seems to fix the issue.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THis might be redundant with a pending PR.


if screenshot:
self._screenshot = self.export_screenshot(
Expand Down