Show More
@@ -154,7 +154,7 b' class colorui(uimod.ui):' | |||||
154 | self._buffers[-1].extend([(str(a), label) for a in args]) |
|
154 | self._buffers[-1].extend([(str(a), label) for a in args]) | |
155 | elif self._colormode == 'win32': |
|
155 | elif self._colormode == 'win32': | |
156 | for a in args: |
|
156 | for a in args: | |
157 |
win32print(a, |
|
157 | win32print(a, super(colorui, self).write, **opts) | |
158 | else: |
|
158 | else: | |
159 | return super(colorui, self).write( |
|
159 | return super(colorui, self).write( | |
160 | *[self.label(str(a), label) for a in args], **opts) |
|
160 | *[self.label(str(a), label) for a in args], **opts) | |
@@ -163,7 +163,7 b' class colorui(uimod.ui):' | |||||
163 | label = opts.get('label', '') |
|
163 | label = opts.get('label', '') | |
164 | if self._colormode == 'win32': |
|
164 | if self._colormode == 'win32': | |
165 | for a in args: |
|
165 | for a in args: | |
166 |
win32print(a, |
|
166 | win32print(a, super(colorui, self).write_err, **opts) | |
167 | else: |
|
167 | else: | |
168 | return super(colorui, self).write( |
|
168 | return super(colorui, self).write( | |
169 | *[self.label(str(a), label) for a in args], **opts) |
|
169 | *[self.label(str(a), label) for a in args], **opts) |
General Comments 0
You need to be logged in to leave comments.
Login now