Don't redisplay the title messages before displaying sub-menus during set
selection (eg selecting the X sets). libcurses got changed earlier in the year so that the erase (and refresh) of the message window caused all the unchanged spaces to be redrawn overwriting most of the main set selection window.
This commit is contained in:
parent
3b644e49b3
commit
0a0a96c37f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: util.c,v 1.136 2005/04/18 23:36:03 lukem Exp $ */
|
||||
/* $NetBSD: util.c,v 1.137 2005/10/22 09:31:50 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -472,9 +472,6 @@ set_selected_sets(menudesc *menu, void *arg)
|
|||
none = msg_string(MSG_None);
|
||||
}
|
||||
|
||||
msg_display(MSG_cur_distsets);
|
||||
msg_table_add(MSG_cur_distsets_header);
|
||||
|
||||
m = menu->opts;
|
||||
for (list = menu_info->dist; list->desc; list++) {
|
||||
if (!(menu_info->sets & list->set))
|
||||
|
@ -605,6 +602,9 @@ customise_sets(void)
|
|||
if (menu_no == -1)
|
||||
return;
|
||||
|
||||
msg_display(MSG_cur_distsets);
|
||||
msg_table_add(MSG_cur_distsets_header);
|
||||
|
||||
set_menu_info.dist = dist_list;
|
||||
set_menu_info.sets = ~0u;
|
||||
process_menu(menu_no, &set_menu_info);
|
||||
|
|
Loading…
Reference in New Issue