import sys
import textwrap
+from . import lightcards
+
def disp_bar(stdscr, stack, headers, obj):
"""
"i, / star card\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" +
+ "H, ? open this screen\n" +
+ "e open the input file in $EDITOR\n\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.")
disp_card(stdscr, stack, headers, idx)
elif key in ["H", "?"]:
disp_help(stdscr, stack, headers, idx)
+ elif key == "e":
+ (headers, stack) = lightcards.reparse()
+ get_key(stdscr, stack, headers, idx)