summaryrefslogtreecommitdiffstats
path: root/lib/libform/form_driver.3
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-11-26 04:00:50 +0000
committermillert <millert@openbsd.org>1997-11-26 04:00:50 +0000
commit6cd90de493b49eff795fac736242c7fcd2362c99 (patch)
treea0b7f81919b2ae827554382517ac7b016d7abf0f /lib/libform/form_driver.3
parentlibmenu from ncurses 4.1. Post 4.1 patches to be applied in a separate commit. (diff)
downloadwireguard-openbsd-6cd90de493b49eff795fac736242c7fcd2362c99.tar.xz
wireguard-openbsd-6cd90de493b49eff795fac736242c7fcd2362c99.zip
libform from ncurses 4.1. Post 4.1 patches to be applied in a separate commit.
Diffstat (limited to 'lib/libform/form_driver.3')
-rw-r--r--lib/libform/form_driver.311
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libform/form_driver.3 b/lib/libform/form_driver.3
index e501c6ca008..6a6acc7b66c 100644
--- a/lib/libform/form_driver.3
+++ b/lib/libform/form_driver.3
@@ -133,6 +133,9 @@ Clear to end of line from cursor.
REQ_CLR_EOF
Clear to end of field from cursor.
.TP 5
+REQ_CLR_FIELD
+Clear the entire field.
+.TP 5
REQ_OVL_MODE
Enter overlay mode.
.TP 5
@@ -181,18 +184,18 @@ Horizontal scroll the field backward half a line.
REQ_VALIDATION
Validate field.
.TP
-REQ_PREV_CHOICE
-Display previous field choice.
-.TP
REQ_NEXT_CHOICE
Display next field choice.
+.TP
+REQ_PREV_CHOICE
+Display previous field choice.
.PP
If the second argument is a printable ASCII character, the driver places it
in the current position in the current field. If it is one of the forms
requests listed above, that request is executed.
.PP
If the second argument is neither printable ASCII nor one of the above
-pre-defined form requests, the drive asumes it is an application-specific
+pre-defined form requests, the drive assumes it is an application-specific
command and returns \fBE_UNKNOWN_COMMAND\fR. Application-defined commands
should be defined relative to \fBMAX_COMMAND\fR, the maximum value of these
pre-defined requests.