summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmaan Bhojwani <me@armaanb.net>2021-02-13 22:34:24 -0500
committerArmaan Bhojwani <me@armaanb.net>2021-02-13 22:34:24 -0500
commit1c372ca43e37df3086fea5322aca3196bc3c325c (patch)
treec55c66f4455aaf023ba2b17787477592ce358760
parent2a2de7425580e9080c0076b509821759c8a96861 (diff)
downloadlightcards-1c372ca43e37df3086fea5322aca3196bc3c325c.tar.gz
Rename confirm_quit option to quit_confirmation
-rw-r--r--config.py2
-rw-r--r--lightcards/display.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.py b/config.py
index b61e4fd..2057a2b 100644
--- a/config.py
+++ b/config.py
@@ -56,7 +56,7 @@ quit_key = "q"
###############################################################################
# OTHER
-confirm_quit = True
+quit_confirmation = True
show_menu_at_end = True
debug = False
diff --git a/lightcards/display.py b/lightcards/display.py
index ae3534d..e7ebb1f 100644
--- a/lightcards/display.py
+++ b/lightcards/display.py
@@ -50,7 +50,7 @@ class Quit:
(mlines, mcols) = self.outer.win.getmaxyx()
self.win.mvwin(int(mlines / 2) - 3, int(mcols / 2) - 10)
self.panel.show()
- if self.outer.config["confirm_quit"]:
+ if self.outer.config["quit_confirmation"]:
while True:
key = self.win.getkey()
if key == "y":