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

allow waiting of screen operations #1061

Merged
merged 1 commit into from
Oct 31, 2022
Merged

allow waiting of screen operations #1061

merged 1 commit into from
Oct 31, 2022

Conversation

willmcgugan
Copy link
Collaborator

Makes screen methods awaitable. So if you await self.push_screen(foo) for example, it won't return until the screen and children are mounted.

Noticed this issue in the unmount PR, which had to insert a pause after pushing the screen, so that children were mounted by the next line.

Base automatically changed from unmount to main October 31, 2022 13:36
@willmcgugan willmcgugan merged commit 881a9c2 into main Oct 31, 2022
@willmcgugan willmcgugan deleted the horizontal-fix branch October 31, 2022 13:36
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.

2 participants