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:
.\" Automatically generated by Pandoc 2.11.3
.\"
-.TH "lightcards" "1" "February 2021" "lightcards 0.6.0" "General Commands Manual"
+.TH "lightcards" "1" "February 2021" "lightcards 0.7.0" "General Commands Manual"
.hy
.SH NAME
.PP
\f[B]m\f[R]
Open control menu
.TP
-\f[B]1\f[R], \f[B]2\f[R]
-Switch views
+\f[B]1\f[R], \f[B]2\f[R], \f[B]3\f[R]
+Switch views between front first, back first, and both
+.TP
+\f[B]q\f[R]
+Quit
.SH INPUT FILE
.PP
Lightcards takes the first table from a valid Markdown or HTML file.
**m**
: Open control menu
-**1**, **2**
-: Switch views
+**1**, **2**, **3**
+: Switch views between front first, back first, and both
+
+**q**
+: Quit
# INPUT FILE
Lightcards takes the first table from a valid Markdown or HTML file. Each row is a card, and the two columns are the front and back.