Jouni Malinen
414780027a
edit: Fix completion at the last character
...
Completion needs to be done even if the full word has been entered.
In addition, fix the space-after-full-word to properly allocate room
for the extra character when completion is used in the middle of the
string.
2010-11-20 11:59:04 +02:00
Jouni Malinen
89eb6b774d
edit: Fix delete word to update current position
2010-11-20 11:48:00 +02:00
Jouni Malinen
e4f13f9256
edit: Fix completion of arguments other than the first one
2010-11-20 11:45:42 +02:00
Jouni Malinen
73669f1b03
edit: Fix Home/End escape codes
2010-11-20 11:20:48 +02:00
Jouni Malinen
7302a35ed4
edit: Add string completion support on tab
2010-11-20 00:42:02 +02:00
Jouni Malinen
e8ecb5fb49
Move wpa_cli readline integration into src/utils/edit_readline.c
...
All three line editing options are now located in src/utils/edit*.c
and provide the same API to allow easy build time selection.
2010-11-14 22:37:43 +02:00
Jouni Malinen
bdc45634f0
wpa_cli: Use edit API as a wrapper for optional readline
2010-11-14 21:19:35 +02:00
Jouni Malinen
616e0e728e
edit: Redraw input line on ^L
2010-11-14 21:03:24 +02:00
Jouni Malinen
82a855bda8
Move command line editing routines into src/utils/edit*.[ch]
...
This allows the same routines to be shared with other programs
since these are not really specific to wpa_cli.
2010-11-14 20:59:29 +02:00