]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/display.py
Document quit keybinding
[lightcards.git] / lightcards / display.py
index 50b741808b14dc0ed18ed417c528322ac83cb2f1..d69bde7ab8926a4b6cbf4d1672e08ba0cb22cab5 100644 (file)
@@ -61,7 +61,7 @@ class Quit:
 
 
 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)
@@ -81,6 +81,7 @@ class Help:
             "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`.",
@@ -104,7 +105,7 @@ class 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: