On 7/14/16 3:00 PM, Carlos Pita wrote:
> Hi Chet,
> 
> regarding the problem with signal handling and apps not informing rl
> about terminal resize events, is it possible somehow to bind a key to
> ask rl "Please update yourself", just as a workaround? I managed to do
> something like that for python using the ffi, but there are to
> limitations:

Hmmm...how about an application-settable readline variable that tells
readline to check the terminal size when it enters rl_callback_read_char()?
Off by default, of course.  Or does that not satisfy your requirements?
Do you want this to be something a user could invoke or set to overcome
delays in application updates?

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

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to