mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-15 00:15:47 +08:00
Add support for indeterminate progress
This commit also changes the behavior of ProgressContext.IsFinished. Only tasks that have been started will be taken into consideration, and not indeterminate tasks. Closes #329 Closes #331
This commit is contained in:
committed by
Phil Scott
parent
6121203fee
commit
6f16081f42
@@ -16,5 +16,10 @@ namespace Spectre.Console
|
||||
/// will be auto started. Defaults to <c>true</c>.
|
||||
/// </summary>
|
||||
public bool AutoStart { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the default progress task settings.
|
||||
/// </summary>
|
||||
internal static ProgressTaskSettings Default { get; } = new ProgressTaskSettings();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user