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 restoring terminal - pass down and use fd #19

Merged

Conversation

joeycumines
Copy link

When using the Input method, the file descriptor may not be the one that was originally cached (when the tty config was saved), which can result in it failing to restore / leaving the tty in raw mode.

Perhaps it would have been better to make it take a snapshot of the tty config for that specific file descriptor. This was the easiest fix, though.

@Verseth Verseth merged commit 32b5449 into elk-language:master May 9, 2024
8 checks passed
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