[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rl_complete(0, '?') should never insert into the line buffer
From: |
Chet Ramey |
Subject: |
Re: rl_complete(0, '?') should never insert into the line buffer |
Date: |
Tue, 28 May 2024 19:07:29 -0400 |
User-agent: |
Mozilla Thunderbird |
On 5/23/24 5:56 PM, Pip Cet wrote:
I've attached a second patch (readline-002.diff) which fixes this
particular case and makes rl_complete_internal behave as documented,
but may very well break other applications. Maybe it's better to swap
'?' and '2' in the patch?
I considered an approach like this, but decided on a more direct one-
line change.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature