Might have found way to make header actually refresh!

This commit is contained in:
root committed 2017-03-14 03:01:47 +01:00
1 parent ea705e4fb8
commit 337609c96b
1 file changed
+4
+4
View File
@@ -57,6 +57,8 @@ s+=slogan
asciiheader = s
#Legacy code
palette = [
('header', 'white', 'dark red'),
('inside', '', 'dark green'),
@@ -99,6 +101,8 @@ class ConfessionBox(urwid.Filler):
tweetorator.post_confession(text)
#slackorator.post_confession(text)
self.original_widget = get_edit_box()
#TODO: Must find way to make header refresh. This is the best candidate to have such code!
#statusbar.base_widget.set_text([('err', u"Something got refreshed!"),('suc', u"test suc") ])
outside = urwid.AttrMap(urwid.Divider(), 'outside')
inside = urwid.AttrMap(urwid.Divider(), 'inside')