Docstring wordings, refactored /r/me handling, updated README.
This commit is contained in:
18
rtv/docs.py
18
rtv/docs.py
@@ -2,7 +2,9 @@ from .__version__ import __version__
|
||||
|
||||
__all__ = ['AGENT', 'SUMMARY', 'AUTH', 'CONTROLS', 'HELP']
|
||||
|
||||
AGENT = "desktop:https://github.com/michael-lazar/rtv:{} (by /u/civilization_phaze_3)".format(__version__)
|
||||
AGENT = """\
|
||||
desktop:https://github.com/michael-lazar/rtv:{} (by /u/civilization_phaze_3)\
|
||||
""".format(__version__)
|
||||
|
||||
SUMMARY = """
|
||||
Reddit Terminal Viewer is a lightweight browser for www.reddit.com built into a
|
||||
@@ -28,22 +30,22 @@ HELP = """
|
||||
Global Commands
|
||||
`UP/DOWN` or `j/k` : Scroll to the prev/next item
|
||||
`a/z` : Upvote/downvote the selected item
|
||||
`r` : Refresh the current page
|
||||
`q` : Quit the program
|
||||
`ENTER` or `o` : Open the selected item in the default web browser
|
||||
`u` : Log in
|
||||
`r` : Refresh the current page
|
||||
`u` : Login/logout of your user account
|
||||
`?` : Show this help message
|
||||
`q` : Quit the program
|
||||
|
||||
Subreddit Mode
|
||||
`RIGHT` or `l` : View comments for the selected submission
|
||||
`/` : Open a prompt to switch subreddits
|
||||
`f` : Open a prompt to search the current subreddit
|
||||
`p` : Post a Submission to the current subreddit
|
||||
`p` : Post a new submission to the current subreddit
|
||||
|
||||
Submission Mode
|
||||
`LEFT` or `h` : Return to subreddit mode
|
||||
`RIGHT` or `l` : Fold the selected comment, or load additional comments
|
||||
`c` : Comment/reply on the selected item
|
||||
`c` : Post a new comment on the selected item
|
||||
"""
|
||||
|
||||
COMMENT_FILE = """
|
||||
@@ -59,7 +61,7 @@ SUBMISSION_FILE = """
|
||||
# and an empty field aborts the submission.
|
||||
#
|
||||
# The first line will be interpreted as the title
|
||||
# Following lines will be interpreted as the content
|
||||
# The following lines will be interpreted as the content
|
||||
#
|
||||
# Posting to /r/{name}
|
||||
"""
|
||||
"""
|
||||
Reference in New Issue
Block a user