Skip to main content

braille_bar

Function braille_bar 

Source
pub fn braille_bar(pct: f64, width: usize) -> String
Expand description

10-character braille completion bar. pct is clamped to [0, 100]; each char represents 10 percentage points with 8 within-char sub-levels via the standard bottom-up braille fill pattern, so the bar fills smoothly at ~1.25-percent resolution.