page.py: quit without prompt restored
docs.py: reflect change on docs
This commit is contained in:
@@ -29,7 +29,7 @@ Basic Commands
|
||||
`r` or `F5` : Refresh page content
|
||||
`u` : Log in or switch accounts
|
||||
`?` : Show the help screen
|
||||
`q` : Quit
|
||||
`q/Q` : Quit/Force quit
|
||||
|
||||
Authenticated Commands
|
||||
`a/z` : Upvote/downvote
|
||||
|
||||
@@ -275,6 +275,10 @@ class BasePage(object):
|
||||
elif ch != 'n':
|
||||
curses.flash()
|
||||
|
||||
@BaseController.register('Q')
|
||||
def force_exit(self):
|
||||
sys.exit()
|
||||
|
||||
@BaseController.register('?')
|
||||
def help(self):
|
||||
show_help(self._content_window)
|
||||
|
||||
Reference in New Issue
Block a user