Commit Graph

14 Commits

Author SHA1 Message Date
Jordan K. Hubbard ae5b2dcf86 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.
1996-12-14 16:14:21 +00:00
Andrey A. Chernov 883c5f31fa Fix nasty shadow bug sneaked in Marc's commit.
Implement ^K and KEY_EOL as clear end of line
Move common code from line_edit to static function
Cosmetique changes in textbox
1995-05-08 01:43:52 +00:00
Andrey A. Chernov 895aadbcfb file selector, helpline, helpfile and more, with my fixes
Submitted by: wmbfmk@urc.tue.nl
1995-02-15 19:44:08 +00:00
Andrey A. Chernov ef849892d9 Add ^X,^B,^F,^E,^A
Implement KEY_DC/^D
Fix some displaying errors
Add more beeps on reaching edges
1994-11-20 00:21:02 +00:00
Andrey A. Chernov 2c154e8124 Automatically turn off insert mode when end of field reached
in line_edit().
1994-11-19 10:22:12 +00:00
Andrey A. Chernov 5fa4b99ccf Highlight only flen sized part while editing in line_edit() 1994-11-19 09:58:34 +00:00
Andrey A. Chernov 3fa6f2210c Highlight only space available for editing 1994-11-19 00:45:02 +00:00
Andrey A. Chernov df5add3f69 Draw passed line with passed attrs on enter of line_edit()
and redraw it with default attrs on exit.
1994-11-18 01:46:32 +00:00
Andrey A. Chernov a9e8a652cb Add new parameter to line_edit: field length (-1 means unlimited) 1994-11-18 01:02:42 +00:00
Andrey A. Chernov f9c9c70b70 Save/restore attrs in line_edit now 1994-11-18 00:30:06 +00:00
Andrey A. Chernov af39413d8c Additionly use erase char from termios
Implement kill line by ^U or kill char from termios
1994-11-10 15:16:46 +00:00
Andrey A. Chernov 76ab56f350 Now line_edit() uses passed string as initial prompt 1994-11-02 01:40:34 +00:00
Andrey A. Chernov 3f20de5a5f Implement dialog_prgbox() function which allows run program
(via pipe) with output to dialog box
1994-10-28 03:08:28 +00:00
Andrey A. Chernov 2a9cdd71dd Implement line_edit() function (full line editor) which may called
externally.
Rewrite inputbox/textbox to use this function.
1994-10-21 15:42:30 +00:00