Added brackets to help page.
This commit is contained in:
@@ -17,7 +17,7 @@ Press `?` to open the help screen.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
HELP = """
|
HELP = """
|
||||||
Basic Commands
|
[Basic Commands]
|
||||||
`j/k` or `UP/DOWN` : Move the cursor up/down
|
`j/k` or `UP/DOWN` : Move the cursor up/down
|
||||||
`m/n` or `PgUp/PgDn`: Jump to the previous/next page
|
`m/n` or `PgUp/PgDn`: Jump to the previous/next page
|
||||||
`o` or `ENTER` : Open the selected item as a webpage
|
`o` or `ENTER` : Open the selected item as a webpage
|
||||||
@@ -27,7 +27,7 @@ Basic Commands
|
|||||||
`?` : Show the help screen
|
`?` : Show the help screen
|
||||||
`q/Q` : Quit/Force quit
|
`q/Q` : Quit/Force quit
|
||||||
|
|
||||||
Authenticated Commands
|
[Authenticated Commands]
|
||||||
`a/z` : Upvote/downvote
|
`a/z` : Upvote/downvote
|
||||||
`c` : Compose a new post or comment
|
`c` : Compose a new post or comment
|
||||||
`e` : Edit an existing post or comment
|
`e` : Edit an existing post or comment
|
||||||
@@ -35,12 +35,12 @@ Authenticated Commands
|
|||||||
`i` : Display new messages prompt
|
`i` : Display new messages prompt
|
||||||
`s` : Open/close subscribed subreddits list
|
`s` : Open/close subscribed subreddits list
|
||||||
|
|
||||||
Subreddit Mode
|
[Subreddit Mode]
|
||||||
`l` or `RIGHT` : Enter the selected submission
|
`l` or `RIGHT` : Enter the selected submission
|
||||||
`/` : Open a prompt to switch subreddits
|
`/` : Open a prompt to switch subreddits
|
||||||
`f` : Open a prompt to search the current subreddit
|
`f` : Open a prompt to search the current subreddit
|
||||||
|
|
||||||
Submission Mode
|
[Submission Mode]
|
||||||
`h` or `LEFT` : Return to subreddit mode
|
`h` or `LEFT` : Return to subreddit mode
|
||||||
`l` or `RIGHT` : Open the selected comment in a new window
|
`l` or `RIGHT` : Open the selected comment in a new window
|
||||||
`SPACE` : Fold the selected comment, or load additional comments
|
`SPACE` : Fold the selected comment, or load additional comments
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ class Page(object):
|
|||||||
|
|
||||||
@PageController.register(Command('HELP'))
|
@PageController.register(Command('HELP'))
|
||||||
def show_help(self):
|
def show_help(self):
|
||||||
self.term.show_notification(docs.HELP.strip().splitlines())
|
self.term.show_notification(docs.HELP.strip('\n').splitlines())
|
||||||
|
|
||||||
@PageController.register(Command('SORT_HOT'))
|
@PageController.register(Command('SORT_HOT'))
|
||||||
def sort_content_hot(self):
|
def sort_content_hot(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user