Version 1.0.1
This commit is contained in:
parent
cb3e6c6d1a
commit
47e5f21315
|
@ -5,6 +5,7 @@ using System.Threading;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An ASCII progress bar
|
/// An ASCII progress bar
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// https://gist.github.com/DanielSWolf/0ab6a96899cc5377bf54
|
||||||
public class ProgressBar : IDisposable, IProgress<double> {
|
public class ProgressBar : IDisposable, IProgress<double> {
|
||||||
private const int blockCount = 10;
|
private const int blockCount = 10;
|
||||||
private readonly TimeSpan animationInterval = TimeSpan.FromSeconds(1.0 / 8);
|
private readonly TimeSpan animationInterval = TimeSpan.FromSeconds(1.0 / 8);
|
||||||
|
|
Loading…
Reference in New Issue