diff options
author | paul <paul@FreeBSD.org> | 1995-01-10 04:10:55 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1995-01-10 04:10:55 +0000 |
commit | f2fb5b52fa185487ab373deef77b30cec8989dda (patch) | |
tree | 0f66f09a0dcba3f0e1f5a3efa700781a4589f26f /lib | |
parent | 62368d936ed04f0f0dd494db60e18247324d6bf8 (diff) | |
download | FreeBSD-src-f2fb5b52fa185487ab373deef77b30cec8989dda.zip FreeBSD-src-f2fb5b52fa185487ab373deef77b30cec8989dda.tar.gz |
Place the cursor better on buttons.
Stop field display attributes getting clobbered.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libforms/forms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libforms/forms.c b/lib/libforms/forms.c index 319034c..c865b34 100644 --- a/lib/libforms/forms.c +++ b/lib/libforms/forms.c @@ -219,6 +219,7 @@ field_action(struct form *form) for (;;) { wattron(form->window, F_SELATTR); disp_action(form, form->current_field); + wmove(form->window, field->y, field->x); ch = wgetch(form->window); if (ch == F_ACCEPT) { (*field->field.action->fn)(); @@ -297,7 +298,6 @@ next_field(struct form *form, int ch) return (0); print_status(""); - field->attr = F_DEFATTR; return (1); } |