Added an extra sort option for 'gilded'

Implemented 'gilded' sort both in the banner bar (by pushing the '6' key), and in the prompt (by entering '/subreddit/gilded')
This commit is contained in:
Edridge D'Souza
2018-07-16 16:22:19 -04:00
parent 71b86505fb
commit b2d3439faa
10 changed files with 41 additions and 5 deletions

View File

@@ -43,6 +43,7 @@ https://github.com/michael-lazar/rtv
3 : Sort by rising
4 : Sort by new
5 : Sort by controversial
6 : Sort by gilded
p : Return to the front page
r : Refresh page
u : Login or logout
@@ -77,6 +78,7 @@ https://github.com/michael-lazar/rtv
- /r/python
- /r/python/new (sort)
- /r/python/controversial-year (sort and order)
- /r/python/gilded (gilded within subreddit)
- /r/python+linux (multireddit)
- /r/python/comments/30rwj2 (submission comments)
- /comments/30rwj2 (submission comments shorthand)
@@ -89,7 +91,7 @@ https://github.com/michael-lazar/rtv
"""
BANNER = """
[1]hot [2]top [3]rising [4]new [5]controversial
[1]hot [2]top [3]rising [4]new [5]controversial [6]gilded
"""
BANNER_SEARCH = """