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

fix: properly detect terminal size after exec #499

Closed

Conversation

knz
Copy link
Contributor

@knz knz commented Oct 7, 2022

See commits for details. Found while investigating #497.

cc @muesli

@knz knz force-pushed the 20221007-fix-resize-outside-of-tea branch from 7e044f4 to 4e68f4f Compare October 7, 2022 13:59
@muesli muesli added the bug Something isn't working label Oct 7, 2022
@muesli
Copy link
Member

muesli commented Oct 12, 2022

We could also use checkResize to ensure an initial terminal size is known before the first render 🤔

@muesli
Copy link
Member

muesli commented Oct 13, 2022

Rebasing.

muesli added a commit that referenced this pull request Oct 15, 2022
Based on @knz's work in #499, but slightly supersedes this change.

A little more coupling in the resize handling, but a lot less code
& logic repetition.
muesli added a commit that referenced this pull request Oct 15, 2022
Based on @knz's work in #499, but slightly supersedes this change.

A little more coupling in the resize handling, but a lot less code
& logic repetition.
@muesli
Copy link
Member

muesli commented Oct 15, 2022

Superseded by #541 which is based on this PR, but goes a step further and fixes a race condition accessing the Program's ctx. Thank you, once again, @knz!

@muesli muesli closed this Oct 15, 2022
muesli added a commit that referenced this pull request Oct 22, 2022
Based on @knz's work in #499, but slightly supersedes this change.

A little more coupling in the resize handling, but a lot less code
& logic repetition.

Co-authored-by: Raphael 'kena' Poss <knz@thaumogen.net>
muesli added a commit that referenced this pull request Oct 22, 2022
Based on @knz's work in #499, but slightly supersedes this change.

A little more coupling in the resize handling, but a lot less code
& logic repetition.

Co-authored-by: Raphael 'kena' Poss <knz@thaumogen.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants