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(startup): recover from race condition that causes Zellij to start in the wrong size #3218

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Mar 22, 2024

This fixes several issues in which Zellij starts up without filling up the whole terminal window.

While the race condition is arguably the responsibility of the terminal emulator (starting the program on the secondary side of the PTY without first setting the size of the STDOUT fd - essentially passing it to termios if in the context of *nix systems), we should definitely be able to recover from this - which is what this PR does.

@imsnif imsnif merged commit 86e91ae into main Mar 25, 2024
6 checks passed
This pull request was closed.
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.

1 participant