display_help function added

This commit is contained in:
ysakamoto
2015-03-06 14:51:05 -06:00
parent 3808c65060
commit 09ed21b75c
3 changed files with 12 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ from .errors import SubredditNameError
from .page import BasePage
from .submission import SubmissionPage
from .content import SubredditContent
from .utils import LoadScreen, text_input, display_message, Color, ESCAPE, help_msg
from .utils import LoadScreen, text_input, display_message, Color, ESCAPE, display_help
class SubredditPage(BasePage):
@@ -53,7 +53,7 @@ class SubredditPage(BasePage):
self.draw()
elif cmd == ord('?'):
display_message(self.stdscr, help_msg)
display_help(self.stdscr)
self.draw()
elif cmd == ord('q'):