diff options
author | Ron Yorston <rmy@frippery.org> | 2015-05-29 11:31:40 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-30 19:49:33 +0100 |
commit | f23264b35f5bb138c6c3676079251e71bee42c8a (patch) | |
tree | e6cba0f51f2db6460f81003e98c4a7107145ace8 /README | |
parent | ae57af6e78ed7179b2b12675ad86adc4e8d5bebd (diff) | |
download | busybox-f23264b35f5bb138c6c3676079251e71bee42c8a.tar.gz |
lineedit: search applets as well as PATH for tab completion
In standalone shell mode search the applet table as well as PATH
when tab completing a command.
Use a stupid linear search: we're also about to read all the
directories on PATH so efficiency isn't a big concern.
function old new delta
add_match - 53 +53
complete_cmd_dir_file 687 724 +37
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/0 up/down: 90/0) Total: 90 bytes
Signed-off-by: Ron Yorston <rmy@frippery.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions