summaryrefslogtreecommitdiff
path: root/scripts/lxdialog
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 18:07:03 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 18:07:03 -0800
commit3544b3289d633721041f6d96d0efee8f79cd435b (patch)
treea5b201286eb880200347c923b115a19b97b7ff3d /scripts/lxdialog
parent27c07b258df990ce981108198eca19b2512a202a (diff)
v2.4.3 -> v2.4.3.1
- Bob Tracy: Cyrix MTRR setup fix (don't make it twice as big as asked for) - Trond Myklebust: rpciod needs to be PF_MEMALLOC to avoid deadlocks on memory allocation when writing out NFS data under low memory conditions. Fix up BKL and RPC interactions. - Jeff Garzik: tulip network driver update - fix truncate to call down to the filesystem with the kernel lock. - David Mosberger: ia64 update - David Mosberger: simplify ELF program header generation. - Alan Cox: merge from -ac series - Jeff Garzik: make serial.c recognize modem devices properly
Diffstat (limited to 'scripts/lxdialog')
-rw-r--r--scripts/lxdialog/checklist.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/lxdialog/checklist.c b/scripts/lxdialog/checklist.c
index 2cdc3703afe1..4f78688ed28a 100644
--- a/scripts/lxdialog/checklist.c
+++ b/scripts/lxdialog/checklist.c
@@ -211,13 +211,15 @@ dialog_checklist (const char *title, const char *prompt, int height, int width,
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 @@ dialog_checklist (const char *title, const char *prompt, int height, int width,
case ESC:
break;
}
+
+ /* Now, update everything... */
+ doupdate ();
}
+
delwin (dialog);
free (status);