Show More
@@ -341,6 +341,7 b' class colorui(uimod.ui):' | |||||
341 | if self._colormode is None: |
|
341 | if self._colormode is None: | |
342 | return super(colorui, self).popbuffer(labeled) |
|
342 | return super(colorui, self).popbuffer(labeled) | |
343 |
|
343 | |||
|
344 | self._bufferstates.pop() | |||
344 | if labeled: |
|
345 | if labeled: | |
345 | return ''.join(self.label(a, label) for a, label |
|
346 | return ''.join(self.label(a, label) for a, label | |
346 | in self._buffers.pop()) |
|
347 | in self._buffers.pop()) | |
@@ -366,6 +367,8 b' class colorui(uimod.ui):' | |||||
366 | return super(colorui, self).write_err(*args, **opts) |
|
367 | return super(colorui, self).write_err(*args, **opts) | |
367 |
|
368 | |||
368 | label = opts.get('label', '') |
|
369 | label = opts.get('label', '') | |
|
370 | if self._bufferstates and self._bufferstates[-1]: | |||
|
371 | return self.write(*args, **opts) | |||
369 | if self._colormode == 'win32': |
|
372 | if self._colormode == 'win32': | |
370 | for a in args: |
|
373 | for a in args: | |
371 | win32print(a, super(colorui, self).write_err, **opts) |
|
374 | win32print(a, super(colorui, self).write_err, **opts) |
General Comments 0
You need to be logged in to leave comments.
Login now