]> git.armaanb.net Git - lightcards.git/blobdiff - config.py
Remove CursesError exception
[lightcards.git] / config.py
index e12faa3f25da77544242624193936d3dc877a240..2057a2bee3e6385f148d92cec2c44abc8a2ede42 100644 (file)
--- a/config.py
+++ b/config.py
@@ -1,6 +1,7 @@
 ###############################################################################
 # LIGHTCARDS DEFAULT CONFIG FILE                                              #
 ###############################################################################
+import curses
 
 ###############################################################################
 # STARTUP OPTIONS
@@ -9,6 +10,8 @@ alphabetize = False
 shuffle = False
 reverse = False
 cache = True
+table = False  # set to integer or range
+lenient = False
 
 default_view = 1
 
@@ -17,8 +20,9 @@ default_view = 1
 
 progress_char = "ยป"
 
-highlight_color = "green"
-starred_color = "yellow"
+highlight_color = curses.COLOR_CYAN
+starred_color = curses.COLOR_YELLOW
+error_color = curses.COLOR_RED
 
 ###############################################################################
 # KEYBINDINGS
@@ -33,15 +37,26 @@ card_last = ["$", "KEY_END"]
 help_disp = ["H", "?"]
 
 menu_disp = "m"
+menu_reset = "y"
+menu_alphabetize = "a"
+menu_shuffle = "z"
+menu_reverse = "t"
+menu_unstar = "u"
+menu_star = "d"
+menu_stars_only = "s"
+menu_open_file = "e"
+menu_restart = "r"
 
 view_one = "1"
 view_two = "2"
 view_three = "3"
 
+quit_key = "q"
+
 ###############################################################################
 # OTHER
 
-confirm_quit = True
+quit_confirmation = True
 show_menu_at_end = True
 debug = False