On 1/12/25 11:27 PM, Matthew Tromp wrote:

 From looking through the completions display code, it seems like
'print_filename' is what adds these slashes when displaying
completions.

print_filename() is the workhorse that implements support for a number of
other readline variables, including colored-stats and visible-stats.
Passing a zero value for prefix_bytes will inhibit the effects of
completion-prefix-display-length and colored-completion-prefix, which may or may not matter to your users.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to