mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
3b9fd1af80
The permission prompt doesn't wait for quiescent input, so someone pasting a large text file into the console may end up losing the prompt. We enforce a minimum human delay and wait for a 100ms quiescent period before we write and accept prompt input to avoid this problem. This does require adding a human delay in all prompt tests, but that's pretty straightforward. I rewrote the locked stdout/stderr test while I was in here. |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs | ||
prompter.rs | ||
README.md |