Comments
Patch
@@ -179,6 +179,10 @@ class TerminalFilter(object):
sys.stdout.write(self.curses.tparm(self.ed))
self.footer_present = False
+ def updateFooterForce(self):
+ self.footer_present = False
+ self.updateFooter()
+
def updateFooter(self):
if not self.cuu:
return
@@ -347,6 +351,8 @@ def main(server, eventHandler, tf = TerminalFilter):
if stdin_mgr.poll():
keyinput = sys.stdin.read(1)
rtloglevel.setLevel(keyinput, True)
+ termfilter.updateFooterForce()
+
# Always try printing any accumulated log files first
rtloglevel.displayLogs()
if event is None:
This patch adds a call to update the task list after changing log modes dynamically such that you can immediately see the remaining tasks. (LOCAL REV: NOT UPSTREAM) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> --- lib/bb/ui/knotty.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)