0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-15 18:16:12 -05:00
denoland-deno/runtime/permissions
Matt Mastracci 5a2ff6557c
fix(cli): Enforce a human delay in prompt to fix paste problem (#23184)
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.
2024-04-11 10:31:49 +05:30
..
Cargo.toml 1.42.1 (#23158) 2024-04-01 12:03:06 +05:30
lib.rs fix(runtime): use FQDN in NetDescriptor (#23084) 2024-03-26 23:27:40 +00:00
prompter.rs fix(cli): Enforce a human delay in prompt to fix paste problem (#23184) 2024-04-11 10:31:49 +05:30
README.md refactor: add deno_permissions crate (#22236) 2024-03-12 10:42:26 -07:00