From fa97cc022b6be881dbe6b211330670011f0603a6 Mon Sep 17 00:00:00 2001 From: BlueFox Date: Fri, 1 Nov 2024 21:12:14 +0000 Subject: [PATCH] Fixed small issue in the execution process (no refresh of display after callback function return) --- __init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/__init__.py b/__init__.py index 81b9fb2..f4f18c9 100644 --- a/__init__.py +++ b/__init__.py @@ -198,6 +198,7 @@ class lcdMenu: self.lcd.move_to(0,1) # move to the second line for the starting message below (takes two lines) self.lcd.putstr(f"[{selection[0][0:lw].center(lw-2)}]{self.end_execution_msg[0:lw].center(lw)}") sleep(self.end_execution_wait) + self.show_selection() # listen for button presses (this method should be called in an endless loop, see method run)