diff options
author | Ron Yorston <rmy@pobox.com> | 2021-02-12 13:57:26 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-02-12 13:57:26 +0000 |
commit | 90f35327c2f31b7e4d938bf4d54e5526e53daee0 (patch) | |
tree | 07daa2ce1f0546a435d7e3b0d5d9db5ef00bd229 /docs | |
parent | 038bc6cc76f1099b05eba30da64ed7b639af0245 (diff) | |
download | busybox-w32-90f35327c2f31b7e4d938bf4d54e5526e53daee0.tar.gz busybox-w32-90f35327c2f31b7e4d938bf4d54e5526e53daee0.tar.bz2 busybox-w32-90f35327c2f31b7e4d938bf4d54e5526e53daee0.zip |
libbb: avoid problems with quoted characters in tab completion
Commit 9e341902d (libbb: copy entire match during tab-completion)
adjusted the display of matches during tab completion to make any
changes in case visible.
Unfortunately the presence of quoted special characters upsets
the display:
$ touch t+1+2+3 t+1+4+5
$ ls t+1<TAB>
changes the command to:
$ lst\+1\+
In such cases just revert to the upstream code which only displays
the tail of the match, giving:
$ ls t+1\+
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions