Skip to content

repl,core: reset tty state before exiting#507

Merged
saghul merged 1 commit intomasterfrom
reset-tty
May 6, 2024
Merged

repl,core: reset tty state before exiting#507
saghul merged 1 commit intomasterfrom
reset-tty

Conversation

@saghul
Copy link
Copy Markdown
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
@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