Home
last modified time | relevance | path

Searched refs:term_width (Results 1 – 2 of 2) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/progressbar/
H A Dprogressbar.py101 def __init__(self, maxval=None, widgets=None, term_width=None, poll=1, argument
115 if term_width is not None:
116 self.term_width = term_width
125 self.term_width = self._env_size()
186 self.term_width = w
201 width = self.term_width
230 if self.left_justify: return widgets.ljust(self.term_width)
231 else: return widgets.rjust(self.term_width)
290 self.num_intervals = max(100, self.term_width)
/openbmc/linux/tools/kvm/kvm_stat/
H A Dkvm_stat1342 (x, term_width) = self.screen.getmaxyx()
1345 start = (term_width - len(line)) // 2
1348 self.screen.addstr(row + 1, (term_width - len(hint)) // 2, hint,