From 033498107571ef9b30b33861aece87468d3c09cd Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 16 Mar 2026 11:39:59 -0500 Subject: [PATCH] docs(progress): Note the dual-nature of Paused --- crates/anstyle-progress/src/lib.rs | 3 ++- crates/anstyle-progress/src/progress.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/anstyle-progress/src/lib.rs b/crates/anstyle-progress/src/lib.rs index 7826dd9..f3342ef 100644 --- a/crates/anstyle-progress/src/lib.rs +++ b/crates/anstyle-progress/src/lib.rs @@ -1,7 +1,8 @@ //! ANSI escape code progress reporting (OSC 9;4) //! //! For details on the protocol, see -//! [ConEmu's docs](https://conemu.github.io/en/AnsiEscapeCodes.html#ConEmu_specific_OSC) +//! [ConEmu's docs](https://conemu.github.io/en/AnsiEscapeCodes.html#ConEmu_specific_OSC), +//! [Tutorial: Set the progress bar in the Windows Terminal](https://learn.microsoft.com/en-us/windows/terminal/tutorials/progress-bar-sequences) #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(docsrs, feature(doc_cfg))] diff --git a/crates/anstyle-progress/src/progress.rs b/crates/anstyle-progress/src/progress.rs index 80938ef..1e0634f 100644 --- a/crates/anstyle-progress/src/progress.rs +++ b/crates/anstyle-progress/src/progress.rs @@ -59,6 +59,7 @@ impl Default for TermProgress { #[derive(Copy, Clone)] pub enum TermProgressStatus { Normal, + /// Some terminals treat this as a Warning Paused, Error, }