Add coloured tag for sticky comments.
This commit is contained in:
@@ -67,6 +67,12 @@ class Terminal(object):
|
||||
attr = curses.A_BOLD | Color.YELLOW
|
||||
return symbol, attr
|
||||
|
||||
@property
|
||||
def stickied(self):
|
||||
text = '[stickied]'
|
||||
attr = Color.GREEN
|
||||
return text, attr
|
||||
|
||||
@property
|
||||
def vline(self):
|
||||
return getattr(curses, 'ACS_VLINE', ord('|'))
|
||||
|
||||
Reference in New Issue
Block a user