Re: readline post-hook?

2006-11-27 Thread Chet Ramey
Sebastian Tannert wrote: > Is there a way to run a function after the user has finished > a line with RETURN to add characters to the readline buffer? > Of course one could malloc new memory and copy the stuff got by the > call of readline but may be there is a more smart way of doing it? There is

readline post-hook?

2006-11-27 Thread Sebastian Tannert
Is there a way to run a function after the user has finished a line with RETURN to add characters to the readline buffer? Of course one could malloc new memory and copy the stuff got by the call of readline but may be there is a more smart way of doing it? Thanks for your help! Sebastian