class Help:
- def __init__(self, outer, mlines=20, mcols=52):
+ def __init__(self, outer, mlines=21, mcols=52):
"""Initialize help screen"""
self.outer = outer
(self.win, self.panel) = panel_create(mlines, mcols)
"H, ? open this screen",
"m open the control menu",
"1, 2, 3 switch views",
+ "q quit",
"",
"More information can be found in the man page, or",
"by running `lightcards --help`.",
def disp(self):
"""Display help screen"""
(mlines, mcols) = self.outer.win.getmaxyx()
- self.win.mvwin(int(mlines / 2) - 10, int(mcols / 2) - 25)
+ self.win.mvwin(int(mlines / 2) - 11, int(mcols / 2) - 25)
self.panel.show()
while True: