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, }