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(runtime/windows): ensure Deno.stdin.setRaw(false) properly disables raw mode #17983

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

rivy
Copy link
Contributor

@rivy rivy commented Mar 1, 2023

Compilation and tests are passing in local CI.
Ready for feedback.

Fixes #17866.

@CLAassistant
Copy link

CLAassistant commented Mar 1, 2023

CLA assistant check
All committers have signed the CLA.

@rivy rivy changed the title fix(runtime): (WinOS) repair console raw mode off (fixes #17866) fix(runtime): (WinOS) repair console raw mode off Mar 1, 2023
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @rivy!

runtime/ops/tty.rs Outdated Show resolved Hide resolved
runtime/ops/tty.rs Outdated Show resolved Hide resolved
@dsherret
Copy link
Member

dsherret commented Mar 8, 2023

@rivy could you enable pushes from maintainers? I was going to merge this now, but then couldn't push the changes.

@rivy
Copy link
Contributor Author

rivy commented Mar 8, 2023

The permission checkbox is missing... ?
I'll merge your feedback changes and re-push the PR.

@rivy rivy force-pushed the fix.console-mode branch from d53f806 to 1e02efa Compare March 8, 2023 19:09
@rivy
Copy link
Contributor Author

rivy commented Mar 8, 2023

@dsherret , I force pushed to requested changes.
Did you want me to rebase it onto main?

@dsherret
Copy link
Member

dsherret commented Mar 8, 2023

@rivy no, it's good. We squash merge everything so the commits in the PR don't matter. Thanks! Going to merge this now.

@dsherret dsherret changed the title fix(runtime): (WinOS) repair console raw mode off fix(runtime/windows): ensure Deno.stdin.setRaw(false) properly disables raw mode Mar 8, 2023
@dsherret dsherret enabled auto-merge (squash) March 8, 2023 19:34
@dsherret dsherret merged commit f2e5e01 into denoland:main Mar 8, 2023
kt3k pushed a commit that referenced this pull request Mar 10, 2023
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.

🐛Deno.stdin.setRaw(false) does not disable ENABLE_VIRTUAL_TERMINAL_INPUT
3 participants