diff options
Diffstat (limited to 'progressbar.go')
| -rw-r--r-- | progressbar.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progressbar.go b/progressbar.go index c8b2bbf..4d41b28 100644 --- a/progressbar.go +++ b/progressbar.go @@ -49,11 +49,11 @@ func (p *ProgressBar) make(window *sysData) error { return nil } -func (p *ProgressBar) setRect(x int, y int, width int, height int) error { +func (p *ProgressBar) setRect(x int, y int, width int, height int, winheight int) error { p.lock.Lock() defer p.lock.Unlock() - return p.sysData.setRect(x, y, width, height) + return p.sysData.setRect(x, y, width, height, winheight) } func (p *ProgressBar) preferredSize() (width int, height int, err error) { |
