From 1c372ca43e37df3086fea5322aca3196bc3c325c Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sat, 13 Feb 2021 22:34:24 -0500 Subject: [PATCH] Rename confirm_quit option to quit_confirmation --- config.py | 2 +- lightcards/display.py | 2 +- 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": -- 2.39.2