fix completion buffer overflow on large directories, add grep filter
The 2KB ls_output buffer overflowed on directories with many files
(like /tmp with 11KB of entries), causing completion to miss files
late in the sorted listing. Increased to 16KB and added grep -i prefix
filter when a pattern exists to limit output size.
Fixes filename and case-preserving completion on macOS /tmp.
(like /tmp with 11KB of entries), causing completion to miss files
late in the sorted listing. Increased to 16KB and added grep -i prefix
filter when a pattern exists to limit output size.
Fixes filename and case-preserving completion on macOS /tmp.
- SHA
396f69c00954b8ad8c23975514acbf8986877827- Parents
-
d110363 - Tree
0fa9ecc