summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r--bitbake/lib/bb/ui/knotty.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 80a4b327fa..41f1ba83af 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -133,7 +133,7 @@ class TerminalFilter(object):
133 cr = (25, 80) 133 cr = (25, 80)
134 return cr[1] 134 return cr[1]
135 135
136 def __init__(self, main, helper, console, format): 136 def __init__(self, main, helper, console, errconsole, format):
137 self.main = main 137 self.main = main
138 self.helper = helper 138 self.helper = helper
139 self.cuu = None 139 self.cuu = None
@@ -174,6 +174,7 @@ class TerminalFilter(object):
174 except: 174 except:
175 self.cuu = None 175 self.cuu = None
176 console.addFilter(InteractConsoleLogFilter(self, format)) 176 console.addFilter(InteractConsoleLogFilter(self, format))
177 errconsole.addFilter(InteractConsoleLogFilter(self, format))
177 178
178 def clearFooter(self): 179 def clearFooter(self):
179 if self.footer_present: 180 if self.footer_present:
@@ -309,7 +310,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
309 warnings = 0 310 warnings = 0
310 taskfailures = [] 311 taskfailures = []
311 312
312 termfilter = tf(main, helper, console, format) 313 termfilter = tf(main, helper, console, errconsole, format)
313 atexit.register(termfilter.finish) 314 atexit.register(termfilter.finish)
314 315
315 while True: 316 while True: