Implement save/unsave post + saved list display

This commit is contained in:
David Foucher
2016-01-17 13:09:48 +01:00
parent 20a17ec2b3
commit 805875519e
5 changed files with 42 additions and 4 deletions

View File

@@ -73,6 +73,12 @@ class Terminal(object):
attr = Color.GREEN
return text, attr
@property
def saved(self):
text = '[saved]'
attr = Color.GREEN
return text, attr
@property
def vline(self):
return getattr(curses, 'ACS_VLINE', ord('|'))