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

Don't touch output config attributes in read_single_key() #165

Merged
merged 1 commit into from
May 21, 2023

Conversation

goodartistscopy
Copy link
Contributor

Raw mode also disables output processing, breaking terminal writes from separate threads. Fixes #136.

Raw mode also disables output processing, breaking terminal writes from separate threads.
@talwat
Copy link

talwat commented May 12, 2023

I've been using this PR instead of the official crate for a while now and I haven't had any issues.

@mitsuhiko mitsuhiko merged commit bda931c into console-rs:master May 21, 2023
12 checks passed
JasonWei512 added a commit to JasonWei512/code-radio-cli that referenced this pull request May 22, 2023
In console 0.15.7, read_char() won't break println!() in other threads:
- console-rs/console#165
- console-rs/console#136
"terminal::writeline!()" was a workaround for this problem.
So it's no longer needed.
JasonWei512 added a commit to JasonWei512/code-radio-cli that referenced this pull request Jun 5, 2023
* Remove "terminal::writeline!()" macro

In console 0.15.7, read_char() won't break println!() in other threads:
- console-rs/console#165
- console-rs/console#136
"terminal::writeline!()" was a workaround for this problem.
So it's no longer needed.
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.

read_char() breaks println! in other threads
3 participants