2021年2月11日(木) 7:28 Chet Ramey <chet.ra...@case.edu>:
> On 2/10/21 6:21 PM, Koichi Murase wrote:
> > 2021年2月11日(木) 7:02 Chet Ramey <chet.ra...@case.edu>:
> >> You'll have to hook the timeout code into the pselect/select calls, as you
> >> suspect. Take a shot and it and send me what you come up with.
> >
> > Thank you for the comment. I'll try it when I have time this week.
>
> Let me know what kind of interface you are thinking about.

I haven't started to work on it so haven't yet decided, but I thought,
for example, some variable like `rl_timeout_point' to which one can
store a time point that the editing times out. Or, if that's not
acceptable, prepare a new function `readline_with_timeout
(prompt,timeout_duration)'? Anyway, I need to carefully see the
existing interface of readline and want to think of what is the
natural interface for this new one.

> I have a couple of ideas.

I'm interested in them.

Thank you,
Koichi

Reply via email to