bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling readline() a second or subsequent time and retaining state f


From: Chet Ramey
Subject: Re: Calling readline() a second or subsequent time and retaining state from previous calls
Date: Thu, 5 Oct 2023 10:53:55 -0400
User-agent: Mozilla Thunderbird

On 10/4/23 3:04 PM, Sam Habiel wrote:
I found the solution to the second problem: Somewhere in our code we turn off 
echo on the terminal (I haven't found out where yet), but reverting that turns 
echo back on.

My apologies for the question that had nothing to do with readline.

I still have the memory leak, but will live with it for now.

Thanks for your work on this. I wonder if the memory leak has to do with
the internal data for prompt display that's managed by rl_expand_prompt().

--
``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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]