Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to simulate the terminal resizing to Pilot #4212

Closed
willmcgugan opened this issue Feb 26, 2024 · 1 comment · Fixed by #4217
Closed

Add a way to simulate the terminal resizing to Pilot #4212

willmcgugan opened this issue Feb 26, 2024 · 1 comment · Fixed by #4217
Assignees

Comments

@willmcgugan
Copy link
Collaborator

We could use a way of simulating the terminal sizing in tests.

The API should be something like the following:

class Pilot:
    async def resize_terminal(self, width, height):
        ...

This should send the appropriate resize events to the App.

Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants