summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/kernel.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-12-14 16:14:21 +0000
committerjkh <jkh@FreeBSD.org>1996-12-14 16:14:21 +0000
commitf3966ba4dba2930bf641566bbca8a2c295ac3832 (patch)
tree0339ac9a93a81373e63f60967bc7e8b041f657cc /gnu/lib/libdialog/kernel.c
parent0d930771c96111302a7452571de004b04afae4cc (diff)
downloadFreeBSD-src-f3966ba4dba2930bf641566bbca8a2c295ac3832.zip
FreeBSD-src-f3966ba4dba2930bf641566bbca8a2c295ac3832.tar.gz
Add another hateful global to libdialog (what the heck, there are already
so many). For now, the only extended attribute implemented is NO ECHO, useful for things like passwords. See TESTS/input2.c for an example. This should go into 2.2.
Diffstat (limited to 'gnu/lib/libdialog/kernel.c')
-rw-r--r--gnu/lib/libdialog/kernel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/kernel.c b/gnu/lib/libdialog/kernel.c
index 7a67af6..c30e478 100644
--- a/gnu/lib/libdialog/kernel.c
+++ b/gnu/lib/libdialog/kernel.c
@@ -90,6 +90,9 @@
*/
int DialogX, DialogY;
+/* This "secret" global allows you to change the behavior of an input field */
+int DialogInputAttrs;
+
/*
* Do some initialization for dialog
*/
OpenPOWER on IntegriCloud