Tweaked link flair formatting.

This commit is contained in:
Michael Lazar
2015-03-12 20:09:57 -07:00
parent 7db8c2f3b8
commit 37bf80409a
2 changed files with 3 additions and 6 deletions

View File

@@ -148,7 +148,7 @@ class SubredditPage(BasePage):
if row in valid_rows: if row in valid_rows:
text = '{author}'.format(**data) text = '{author}'.format(**data)
win.addnstr(row, 1, text, n_cols-1, curses.A_BOLD) win.addnstr(row, 1, text, n_cols-1, curses.A_BOLD)
text = ' {flair}'.format(**data)
win.addnstr(text, n_cols - 1, curses.A_BOLD | Color.GREEN)
text = ' {subreddit}'.format(**data) text = ' {subreddit}'.format(**data)
win.addnstr(text, n_cols - win.getyx()[1], Color.YELLOW) win.addnstr(text, n_cols - win.getyx()[1], Color.YELLOW)
text = ' {flair}'.format(**data)
win.addnstr(text, n_cols - win.getyx()[1], Color.RED)

View File

@@ -22,10 +22,7 @@ setup(
'Operating System :: POSIX', 'Operating System :: POSIX',
'Natural Language :: English', 'Natural Language :: English',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Terminals', 'Topic :: Terminals',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary',