patch-2.4.4 linux/scripts/lxdialog/checklist.c

Next file: linux/scripts/tkgen.c
Previous file: linux/scripts/kernel-doc
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/scripts/lxdialog/checklist.c linux/scripts/lxdialog/checklist.c
@@ -211,13 +211,15 @@
 		    status[i+scroll], i, i == choice);
     }
 
-    wnoutrefresh (list);
-
     print_arrows(dialog, choice, item_no, scroll,
 			box_y, box_x + check_x + 5, list_height);
 
     print_buttons(dialog, height, width, 0);
 
+    wnoutrefresh (list);
+    wnoutrefresh (dialog);
+    doupdate ();
+
     while (key != ESC) {
 	key = wgetch (dialog);
 
@@ -355,7 +357,11 @@
 	case ESC:
 	    break;
 	}
+
+	/* Now, update everything... */
+	doupdate ();
     }
+    
 
     delwin (dialog);
     free (status);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)