Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(runtime): mitigate permission prompt stuffing
Flush the tty's input buffer before reading to avoid already typed characters from being treated as the answer to the permissions prompt. Fixes denoland#9750.
- Loading branch information