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

Implement 'Pilot.resize_terminal'. #4217

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Conversation

rodrigogiraoserrao
Copy link
Contributor

Adds a method Pilot.resize_terminal that allows the user to simulate a terminal resize.
This sends the appropriate Resize event to the app and it also notifies the HeadlessDriver instance of its new size.

Fixes #4212.

@rodrigogiraoserrao rodrigogiraoserrao marked this pull request as ready for review February 26, 2024 15:00
@rodrigogiraoserrao rodrigogiraoserrao merged commit dff54e9 into main Feb 26, 2024
20 checks passed
@rodrigogiraoserrao rodrigogiraoserrao deleted the pilot-resize-terminal branch February 26, 2024 16:07
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 this pull request may close these issues.

Add a way to simulate the terminal resizing to Pilot
2 participants