Skip to content

Commit 0fa4ea3

Browse files
authored
Merge pull request #304 from epage/warn
docs(progress): Note the dual-nature of Paused
2 parents 8b2b488 + 0334981 commit 0fa4ea3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

crates/anstyle-progress/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//! ANSI escape code progress reporting (OSC 9;4)
22
//!
33
//! For details on the protocol, see
4-
//! [ConEmu's docs](https://conemu.github.io/en/AnsiEscapeCodes.html#ConEmu_specific_OSC)
4+
//! [ConEmu's docs](https://conemu.github.io/en/AnsiEscapeCodes.html#ConEmu_specific_OSC),
5+
//! [Tutorial: Set the progress bar in the Windows Terminal](https://learn.microsoft.com/en-us/windows/terminal/tutorials/progress-bar-sequences)
56
67
#![cfg_attr(not(feature = "std"), no_std)]
78
#![cfg_attr(docsrs, feature(doc_cfg))]

crates/anstyle-progress/src/progress.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ impl Default for TermProgress {
5959
#[derive(Copy, Clone)]
6060
pub enum TermProgressStatus {
6161
Normal,
62+
/// Some terminals treat this as a Warning
6263
Paused,
6364
Error,
6465
}

0 commit comments

Comments
 (0)