commit 408d09e5f9b482cef04bc263bd8730dd921ec7c4
parent 979b9374190dff879a5aab8d447b98f0855882af
Author: Eric Davis <edavis@insanum.com>
Date: Mon, 7 Jul 2014 23:11:59 -0700
fixed frame body corruption that can occur during sync with lots of logs
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/sncli.py b/sncli.py
@@ -142,6 +142,9 @@ def log(self, msg):
existing_msg = \
self.master_frame.contents['footer'][0].base_widget.text + u'\n'
+ # if we don't do this clear first there can be corruption in the body
+ self.gui_footer_clear()
+
self.gui_footer_set(urwid.AttrMap(urwid.Text(existing_msg + msg),
'log'))