mirror of
https://github.com/diodeinc/pcb.git
synced 2026-09-14 20:17:19 +08:00
9ca4474a81
* fix: handle closed CLI output pipes Amp-Thread-ID: https://ampcode.com/threads/T-01a04c02-604b-776e-8969-5bf3bac7ea8e * docs: document CLI output handling Amp-Thread-ID: https://ampcode.com/threads/T-01a04c02-604b-776e-8969-5bf3bac7ea8e * docs: simplify CLI output guidance Amp-Thread-ID: https://ampcode.com/threads/T-01a04c02-604b-776e-8969-5bf3bac7ea8e
pcb-ui
pcb-ui provides the terminal spinners, progress bars, status styles, and text
utilities used by the PCB CLI.
Spinners and progress bars write to standard error. Completion methods consume
the active indicator, and suspend hides it while the application prompts for
input. Text helpers provide width-aware truncation, padding, and alignment.
The crate exposes its common types through pcb_ui::prelude.
cargo test -p pcb-ui