diff options
author | jkh <jkh@FreeBSD.org> | 1996-12-14 16:14:21 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-12-14 16:14:21 +0000 |
commit | f3966ba4dba2930bf641566bbca8a2c295ac3832 (patch) | |
tree | 0339ac9a93a81373e63f60967bc7e8b041f657cc /gnu/lib/libdialog/textbox.c | |
parent | 0d930771c96111302a7452571de004b04afae4cc (diff) | |
download | FreeBSD-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/textbox.c')
-rw-r--r-- | gnu/lib/libdialog/textbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/textbox.c b/gnu/lib/libdialog/textbox.c index ec0013b..0e8aaea 100644 --- a/gnu/lib/libdialog/textbox.c +++ b/gnu/lib/libdialog/textbox.c @@ -657,7 +657,7 @@ static int get_search_term(WINDOW *win, unsigned char *search_term, int height, first = 1; while (key != ESC) { - key = line_edit(win, y+1, x+1, -1, box_width-2, searchbox_attr, first, search_term); + key = line_edit(win, y+1, x+1, -1, box_width-2, searchbox_attr, first, search_term, 0); first = 0; switch (key) { case '\n': |