mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-24 04:02:50 +08:00
Fixes non-interactive progress bars from rendering little info
If any task was not-started or finishes then everything stops rendering. I suspect this worked ok but wasn't noticed until we introduced the indeterminate progress task that starts off not-started which caused everything to bail early in the demos.
This commit is contained in:
parent
91a0be86a3
commit
69fdae70c0
@ -33,7 +33,7 @@ namespace Spectre.Console
|
|||||||
{
|
{
|
||||||
if (!task.IsStarted || task.IsFinished)
|
if (!task.IsStarted || task.IsFinished)
|
||||||
{
|
{
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
hasStartedTasks = true;
|
hasStartedTasks = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user