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

@@ -34,8 +34,6 @@ Submission Mode
Left : Exit the submission page and return to the subreddit.
"""
help_msg = help_msg.split("\n")
class Color(object):
@@ -161,6 +159,14 @@ def display_message(stdscr, message):
stdscr.refresh()
def display_help(stdscr):
"""Display a help message box at the center of the screen and wait for a
keypress"""
help_msgs = help_msg.split("\n")
display_message(stdscr, help_msgs)
class LoadScreen(object):
def __init__(self, stdscr):