git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
scripts
/
kconfig
/
lxdialog
/
checklist.c
diff --git
a/scripts/kconfig/lxdialog/checklist.c
b/scripts/kconfig/lxdialog/checklist.c
index
be0200e
..
db07ae7
100644
(file)
--- a/
scripts/kconfig/lxdialog/checklist.c
+++ b/
scripts/kconfig/lxdialog/checklist.c
@@
-196,8
+196,8
@@
int dialog_checklist(const char *title, const char *prompt, int height,
print_buttons(dialog, height, width, 0);
print_buttons(dialog, height, width, 0);
- wnoutrefresh(dialog);
wnoutrefresh(list);
wnoutrefresh(list);
+ wnoutrefresh(dialog);
doupdate();
while (key != ESC) {
doupdate();
while (key != ESC) {
@@
-225,11
+225,12
@@
int dialog_checklist(const char *title, const char *prompt, int height,
}
scroll--;
print_item(list, items[scroll * 3 + 1], status[scroll], 0, TRUE);
}
scroll--;
print_item(list, items[scroll * 3 + 1], status[scroll], 0, TRUE);
+ wnoutrefresh(list);
+
print_arrows(dialog, choice, item_no,
scroll, box_y, box_x + check_x + 5, list_height);
print_arrows(dialog, choice, item_no,
scroll, box_y, box_x + check_x + 5, list_height);
- wnoutrefresh(dialog);
- wrefresh(list);
+ wrefresh(dialog);
continue; /* wait for another key press */
} else
continue; /* wait for another key press */
} else
@@
-251,12
+252,12
@@
int dialog_checklist(const char *title, const char *prompt, int height,
scroll++;
print_item(list, items[(scroll + max_choice - 1) * 3 + 1],
status[scroll + max_choice - 1], max_choice - 1, TRUE);
scroll++;
print_item(list, items[(scroll + max_choice - 1) * 3 + 1],
status[scroll + max_choice - 1], max_choice - 1, TRUE);
+ wnoutrefresh(list);
print_arrows(dialog, choice, item_no,
scroll, box_y, box_x + check_x + 5, list_height);
print_arrows(dialog, choice, item_no,
scroll, box_y, box_x + check_x + 5, list_height);
- wnoutrefresh(dialog);
- wrefresh(list);
+ wrefresh(dialog);
continue; /* wait for another key press */
} else
continue; /* wait for another key press */
} else
@@
-270,8
+271,8
@@
int dialog_checklist(const char *title, const char *prompt, int height,
choice = i;
print_item(list, items[(scroll + choice) * 3 + 1],
status[scroll + choice], choice, TRUE);
choice = i;
print_item(list, items[(scroll + choice) * 3 + 1],
status[scroll + choice], choice, TRUE);
- wnoutrefresh(
dialog
);
- wrefresh(
list
);
+ wnoutrefresh(
list
);
+ wrefresh(
dialog
);
}
continue; /* wait for another key press */
}
}
continue; /* wait for another key press */
}
@@
-305,8
+306,8
@@
int dialog_checklist(const char *title, const char *prompt, int height,
print_item(list, items[(scroll + i) * 3 + 1],
status[scroll + i], i, i == choice);
}
print_item(list, items[(scroll + i) * 3 + 1],
status[scroll + i], i, i == choice);
}
- wnoutrefresh(
dialog
);
- wrefresh(
list
);
+ wnoutrefresh(
list
);
+ wrefresh(
dialog
);
for (i = 0; i < item_no; i++)
if (status[i])
for (i = 0; i < item_no; i++)
if (status[i])