equal
deleted
inserted
replaced
102 float(self.ui.config( |
102 float(self.ui.config( |
103 'progress', 'changedelay'))) |
103 'progress', 'changedelay'))) |
104 self.order = self.ui.configlist('progress', 'format') |
104 self.order = self.ui.configlist('progress', 'format') |
105 self.estimateinterval = self.ui.configwith( |
105 self.estimateinterval = self.ui.configwith( |
106 float, 'progress', 'estimateinterval') |
106 float, 'progress', 'estimateinterval') |
107 # developer config: progress.debug |
|
108 self.debug = self.ui.configbool('progress', 'debug') |
|
109 |
107 |
110 def show(self, now, topic, pos, item, unit, total): |
108 def show(self, now, topic, pos, item, unit, total): |
111 if not shouldprint(self.ui): |
109 if not shouldprint(self.ui): |
112 return |
110 return |
113 termwidth = self.width() |
111 termwidth = self.width() |