1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli/util/progress_bar
David Sherret 716a6b018e
refactor(progress bars): global control for drawing (#17091)
This PR adds the concept of a global `DrawThread`, which can receive
multiple renderers to draw information on the screen (note: the
underlying thread is released back to tokio when it's not rendering). It
also separates the concept of progress bars from the existing "draw
thread". This makes it trivial for us to do stuff like show permission
prompts and progress bars at the same time in the future.

The reason this is global is because the process' tty stderr is also a
global concept.
2023-01-05 13:04:00 +01:00
..
mod.rs refactor(progress bars): global control for drawing (#17091) 2023-01-05 13:04:00 +01:00
renderer.rs refactor(progress bars): global control for drawing (#17091) 2023-01-05 13:04:00 +01:00