Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9

Fork of Menu by Peihsun Yeh

Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9

Revision:
6:819049708d51
Parent:
5:91b1bc68290b
Child:
7:12f2b3b7975f
diff -r 91b1bc68290b -r 819049708d51 Navigator.cpp
--- a/Navigator.cpp	Fri Jan 02 15:41:09 2015 +0000
+++ b/Navigator.cpp	Fri Jan 02 20:49:59 2015 +0000
@@ -56,6 +56,9 @@
     if(activeMenu->selections[_cursorPos].fun != NULL) {
         //execute function
         (activeMenu->selections[_cursorPos].fun)();
+        // refresh the Menu
+        printMenu();
+        printCursor();
     }
     if(activeMenu->selections[_cursorPos].childMenu != NULL) {
         activeMenu = activeMenu->selections[_cursorPos].childMenu;