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

repl,core: reset tty state before exiting #507

Merged
merged 1 commit into from
May 6, 2024
Merged

repl,core: reset tty state before exiting #507

merged 1 commit into from
May 6, 2024

Conversation

saghul
Copy link
Owner

@saghul saghul commented May 6, 2024

The raw mode needs to be reset before exiting, but uv_tty_resetmore
won't work if the tty handle that set the raw mode is closed.

make the REPL exit gracefully if Ctrl-D is pressed.

The raw mode needs to be reset before exiting, but uv_tty_resetmore
won't work if the tty handle that set the raw mode is closed.

make the REPL exit gracefully if Ctrl-D is pressed.
@saghul saghul merged commit a25f9f6 into master May 6, 2024
14 checks passed
@saghul saghul deleted the reset-tty branch May 6, 2024 08:59
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