changeset 12689 | c52c629ce19e |
parent 12654 | 646eb9337c87 |
child 13130 | f139f34ba330 |
--- a/hgext/progress.py Thu Oct 07 23:34:21 2010 -0500 +++ b/hgext/progress.py Sun Oct 10 10:06:36 2010 -0500 @@ -156,7 +156,7 @@ sys.stderr.flush() def width(self): - tw = util.termwidth() + tw = self.ui.termwidth() return min(int(self.ui.config('progress', 'width', default=tw)), tw) def progress(self, topic, pos, item='', unit='', total=None):