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
|
`r` or `F5` : Refresh page content
|
||||||
`u` : Log in or switch accounts
|
`u` : Log in or switch accounts
|
||||||
`?` : Show the help screen
|
`?` : Show the help screen
|
||||||
`q` : Quit
|
`q/Q` : Quit/Force quit
|
||||||
|
|
||||||
Authenticated Commands
|
Authenticated Commands
|
||||||
`a/z` : Upvote/downvote
|
`a/z` : Upvote/downvote
|
||||||
|
|||||||
@@ -275,6 +275,10 @@ class BasePage(object):
|
|||||||
elif ch != 'n':
|
elif ch != 'n':
|
||||||
curses.flash()
|
curses.flash()
|
||||||
|
|
||||||
|
@BaseController.register('Q')
|
||||||
|
def force_exit(self):
|
||||||
|
sys.exit()
|
||||||
|
|
||||||
@BaseController.register('?')
|
@BaseController.register('?')
|
||||||
def help(self):
|
def help(self):
|
||||||
show_help(self._content_window)
|
show_help(self._content_window)
|
||||||
|
|||||||
Reference in New Issue
Block a user