diff options
author | Armaan Bhojwani <me@armaanb.net> | 2021-02-13 22:34:24 -0500 |
---|---|---|
committer | Armaan Bhojwani <me@armaanb.net> | 2021-02-13 22:34:24 -0500 |
commit | 1c372ca43e37df3086fea5322aca3196bc3c325c (patch) | |
tree | c55c66f4455aaf023ba2b17787477592ce358760 | |
parent | 2a2de7425580e9080c0076b509821759c8a96861 (diff) | |
download | lightcards-1c372ca43e37df3086fea5322aca3196bc3c325c.tar.gz |
Rename confirm_quit option to quit_confirmation
-rw-r--r-- | config.py | 2 | ||||
-rw-r--r-- | lightcards/display.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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": |