this repo has no description
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

🚸 Show speed in progress bars

+1 -1
+1 -1
src/ui.rs
··· 9 9 use std::thread::{self, JoinHandle}; 10 10 use std::time::{self, Duration}; 11 11 12 - pub const PROGRESS_BARS_STYLE: &str = "\x1b]9;4;1;{percent}\x1b\\{prefix:>12.bold.cyan} {percent:03}% [{bar:25}] {msg} ({elapsed} ago)"; 12 + pub const PROGRESS_BARS_STYLE: &str = "\x1b]9;4;1;{percent}\x1b\\{prefix:>12.bold.cyan} {percent:03}% [{bar:25}] {msg:01} ({per_sec}, {elapsed} ago)"; 13 13 14 14 pub struct Spinner { 15 15 pub spinner: ProgressBar,