diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-01-05 04:00:51 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-01-05 04:00:51 +0000 |
| commit | 24b935d90ed9876e79bcc745813de25e436e6932 (patch) | |
| tree | b567e831d5e53fc31153fb6a07a663979ac7c5f5 /gnu/lib | |
| parent | 67e73a53fc007aaa34b64a578546b526734ddd31 (diff) | |
Notes
Diffstat (limited to 'gnu/lib')
| -rw-r--r-- | gnu/lib/libdialog/checklist.c | 4 | ||||
| -rw-r--r-- | gnu/lib/libdialog/radiolist.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gnu/lib/libdialog/checklist.c b/gnu/lib/libdialog/checklist.c index 96bac9fec95c..391e351b07d5 100644 --- a/gnu/lib/libdialog/checklist.c +++ b/gnu/lib/libdialog/checklist.c @@ -499,7 +499,9 @@ print_item(WINDOW *win, unsigned char *tag, unsigned char *item, int status, int wattrset(win, selected ? item_selected_attr : item_attr); waddstr(win, item); /* If have a selection handler for this, call it */ - if (me && me->selected) + if (me && me->selected) { + wrefresh(win); me->selected(me, selected); + } } /* End of print_item() */ diff --git a/gnu/lib/libdialog/radiolist.c b/gnu/lib/libdialog/radiolist.c index db408f9afd46..97ada1ce1ce9 100644 --- a/gnu/lib/libdialog/radiolist.c +++ b/gnu/lib/libdialog/radiolist.c @@ -485,7 +485,9 @@ print_item(WINDOW *win, char *tag, char *item, int status, int choice, int selec wattrset(win, selected ? item_selected_attr : item_attr); waddstr(win, item); /* If have a selection handler for this, call it */ - if (me && me->selected) + if (me && me->selected) { + wrefresh(win); me->selected(me, selected); + } } /* End of print_item() */ |
