[Top][All Lists]

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

Re: [Bug-readline] Aborting reverse-i-search with the callback interface

From: Martin Panter
Subject: Re: [Bug-readline] Aborting reverse-i-search with the callback interface
Date: Sat, 30 May 2015 01:16:47 +0000

On 28 May 2015 at 21:01, Chet Ramey <address@hidden> wrote:
> On 5/24/15 9:13 PM, Martin Panter wrote:
>> A workaround has been proposed for Python
>> to unset the RL_STATE_ISEARCH flag and set RL_STATE_DONE flag, but I
>> wonder if you think this sort of thing should be done inside the
>> rl_free_line_state() function instead?
> This approach will work for the time being, but you should be prepared
> to change the python code to use a public function when the next version
> of readline is released.  Readline's signal handler will also call the
> same function, so if you're letting readline handle signal disposition
> you won't have to do anything.

Thanks for looking into this. I will try to keep an eye out for this
change in Readline.

reply via email to

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