Archived
Might have found way to make header actually refresh!
This commit is contained in:
1 parent
ea705e4fb8
commit
337609c96b
1 file changed
+4
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user