summaryrefslogtreecommitdiff
path: root/progressbar.go
diff options
context:
space:
mode:
Diffstat (limited to 'progressbar.go')
-rw-r--r--progressbar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/progressbar.go b/progressbar.go
index 4d80c94..e80ff3c 100644
--- a/progressbar.go
+++ b/progressbar.go
@@ -21,7 +21,7 @@ func NewProgressBar() *ProgressBar {
}
}
-// SetProgress sets the currently indicated progress amount on the ProgressBar. If this amount is outside the range [0,100] (ideally -1), the function will panic (it should allow indeterminate progress bars, alas those are not supported on Windows 2000).
+// SetProgress sets the currently indicated progress amount on the ProgressBar. If this amount is outside the range [0,100] (ideally -1), the function will panic (TODO make it indeterminate).
func (p *ProgressBar) SetProgress(percent int) {
p.lock.Lock()
defer p.lock.Unlock()