Formatting works for comments and description
This commit is contained in:
@@ -8,6 +8,10 @@ palette = [
|
||||
('selected', 'standout', ''),
|
||||
('task', 'light green', ''),
|
||||
('text', '', ''),
|
||||
('strong', 'bold', ''),
|
||||
('underline', 'underline', ''),
|
||||
('link', 'underline,light blue', ''),
|
||||
('italic', 'italics', ''),
|
||||
('workspace', 'white', 'dark blue'),
|
||||
]
|
||||
|
||||
|
||||
@@ -74,11 +74,9 @@ class CustomFields(object):
|
||||
|
||||
class Stories(object):
|
||||
def __init__(self, stories):
|
||||
components = [urwid.Text([
|
||||
('author', s.creator()),
|
||||
s.text(),
|
||||
'\n'
|
||||
]) for s in stories]
|
||||
components = [
|
||||
urwid.Text([('author', s.creator())] + s.text())
|
||||
for s in stories]
|
||||
|
||||
self.stories = urwid.Pile(components)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user