This commit is contained in:
Michael Lazar
2015-04-16 19:17:40 -07:00
3 changed files with 9 additions and 0 deletions

View File

@@ -194,6 +194,10 @@ class SubredditPage(BasePage):
text, attr = GOLD, (curses.A_BOLD | Color.YELLOW)
win.addnstr(text, n_cols - win.getyx()[1], attr)
if data['nsfw']:
text, attr = 'NSFW', (curses.A_BOLD | Color.RED)
win.addnstr(text, n_cols - win.getyx()[1], attr)
row = n_title + offset + 2
if row in valid_rows:
text = clean(u'{author}'.format(**data))