svn path=/main/trunk/; revision=12014
self.out.write(
self._term_codes['carriage_return'] + \
self._term_codes['clr_eol'])
+ self.out.flush()
self._displayed = False
def _display(self, line):
self.out.write(line)
+ self.out.flush()
self._displayed = True
def _update(self, msg):
out = self.out
if not self._isatty:
out.write(self._format_msg(msg) + self._term_codes['newline'])
+ self.out.flush()
self._displayed = True
return
if self._displayed:
self.out.write(self._term_codes['newline'])
+ self.out.flush()
self._displayed = False
def __setattr__(self, name, value):