]> git.armaanb.net Git - lightcards.git/commitdiff
Rename confirm_quit option to quit_confirmation
authorArmaan Bhojwani <me@armaanb.net>
Sun, 14 Feb 2021 03:34:24 +0000 (22:34 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 14 Feb 2021 03:34:24 +0000 (22:34 -0500)
config.py
lightcards/display.py

index b61e4fdc6e2b862c380eab004b087f99a20c831f..2057a2bee3e6385f148d92cec2c44abc8a2ede42 100644 (file)
--- 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
 
index ae3534d0a2ab8449f2a8b1d748331cdb4e5716cd..e7ebb1fd004354bc9c8849a3ed84696ee18997d5 100644 (file)
@@ -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":