alpha
Login
or
Join now
gwen.works
/
shapemaker
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
🚸 Show speed in progress bars
author
Gwenn Le Bihan
date
8 months ago
(Oct 28, 2025, 9:07 PM +0100)
commit
b0c58d2c
b0c58d2c49c62d8dfed0a377ebd06ff67a2ded14
parent
9dae211b
9dae211bb8b9ab8ca936b30d10d9b6c7da32456b
+1
-1
1 changed file
Expand all
Collapse all
Unified
Split
src
ui.rs
+1
-1
src/ui.rs
Reviewed
···
9
9
use std::thread::{self, JoinHandle};
10
10
use std::time::{self, Duration};
11
11
12
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
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,