mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
2afac5bf78
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.
16 lines
380 B
Rust
16 lines
380 B
Rust
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
|
|
|
|
// Note: Only add code in this folder that has no application specific logic
|
|
pub mod checksum;
|
|
pub mod console;
|
|
pub mod diff;
|
|
pub mod display;
|
|
pub mod draw_thread;
|
|
pub mod file_watcher;
|
|
pub mod fs;
|
|
pub mod logger;
|
|
pub mod path;
|
|
pub mod progress_bar;
|
|
pub mod text_encoding;
|
|
pub mod unix;
|
|
pub mod windows;
|