summaryrefslogtreecommitdiff
path: root/progressbar.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-12 16:58:33 -0400
committerPietro Gagliardi <[email protected]>2014-03-12 16:58:33 -0400
commit1db3e163849aa66b87fa82243b5ffebab3458cdd (patch)
tree90a8001e807d847d6ef8ab1314ccd5ca2d3f93cc /progressbar.go
parent038cfd85288a3f997592cf89076ce5f1a30f4eb9 (diff)
Dropped Windows 2000 support.
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()