On 2/17/22 2:46 PM, Andrew Burgess wrote:

Right. I agree that this information is something that callback interface
users would like to know, so let's figure out the best way to do it. Either
way, it's an addition to the current readline API.

Thanks for the feedback.  I guess the next step to move this forward is
for me to draft an actual patch, with doc changes and all.  I'm happy to
work with either approach, the origina RL_STATE_EOF, or the rl_eof_found
strategy.  I guess I'd defer to your judgement for which you'd prefer.

It should be just a matter of changing _rl_eof_found to rl_eof_found in
the source, so that's not a problem. I may end up doing both, in the same
way that rl_done and RL_STATE_DONE both exist.

I'd appreciate your thoughts on a description.

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

Reply via email to