]> git.armaanb.net Git - lightcards.git/commitdiff
Update help screen text
authorArmaan Bhojwani <me@armaanb.net>
Sun, 31 Jan 2021 17:38:16 +0000 (12:38 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 31 Jan 2021 17:39:08 +0000 (12:39 -0500)
lightcards/display.py

index 71fec497fd2155c8fc0f6b45afef2f2830efc72d..d45b9a4626106c3c64db2e08a4105a205c80261b 100755 (executable)
@@ -128,8 +128,8 @@ def disp_card(stdscr, stack, headers, obj):
 def disp_help(stdscr, stack, headers, idx):
     """Display help screen"""
     stdscr.clear()
-    stdscr.addstr("LIGHTCARDS HELP SCREEN", curses.color_pair(1))
-    stdscr.hline(1, 0, curses.ACS_HLINE, 23)
+    stdscr.addstr("LIGHTCARDS HELP", curses.color_pair(1) + curses.A_BOLD)
+    stdscr.hline(1, 0, curses.ACS_HLINE, 15)
     stdscr.addstr(2, 0,
                   "Welcome to lightcards. Here are some keybindings to get\n" +
                   "you started.\n\n" +
@@ -137,10 +137,11 @@ def disp_help(stdscr, stack, headers, idx):
                   "l, right           next card\n" +
                   "j, k, up, down     flip card\n" +
                   "i, /               star card\n" +
-                  "0, ^, home         go to start of deck\n" +
-                  "$, end             go to end of deck\n" +
+                  "0, ^, home         go to the start of the deck\n" +
+                  "$, end             go to the end of the deck\n" +
                   "H, ?               open this screen\n\n" +
-                  "More information can be found in the man page.\n" +
+                  "More information can be found in the man page, or by\n" +
+                  "running `lightcards --help`.\n\n" +
                   "Press [q], [H], or [?] to go back.")
     while True:
         key = stdscr.getkey()