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

@@ -6,7 +6,7 @@ import six
from .content import SubmissionContent
from .page import BasePage
from .utils import LoadScreen, Color, ESCAPE, display_message, help_msg
from .utils import LoadScreen, Color, ESCAPE, display_help
class SubmissionPage(BasePage):
@@ -55,7 +55,7 @@ class SubmissionPage(BasePage):
break
elif cmd == ord('?'):
display_message(self.stdscr, help_msg)
display_help(self.stdscr)
self.draw()
elif cmd == ord('q'):