Skip to content
Snippets Groups Projects
Commit 290b4191 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

color: drop useless override of ui.popbuffer()

Because labels are applied at write() time since 717b75ae5bb0,
colorui.popbuffer() is useless and it doesn't update _bufferapplylabels
correctly. Removing it should fix the problem.
parent beda2c9d
No related branches found
No related tags found
No related merge requests found
......@@ -419,13 +419,6 @@
_styles[status] = ' '.join(good)
class colorui(uimod.ui):
def popbuffer(self):
if self._colormode is None:
return super(colorui, self).popbuffer()
self._bufferstates.pop()
return ''.join(self._buffers.pop())
_colormode = 'ansi'
def write(self, *args, **opts):
if self._colormode is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment