bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Refresh readline notion of terminal size


From: Chet Ramey
Subject: Re: [Bug-readline] Refresh readline notion of terminal size
Date: Fri, 15 Jul 2016 11:18:48 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 7/15/16 11:15 AM, Carlos Pita wrote:
>> 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?
> 
> The less the user has to intervene, the better. I think your proposal
> fits the bill better than mine.

Sure, but that still requires that the application that calls readline to
be changed.  If the problem is that applications (like ipython) don't get
changed to deal with readline changes and bug fixes, this won't solve that.
Am I misunderstanding you?

> 
>> Do you want this to be something a user could invoke or set to overcome
>> delays in application updates?
> 
> Regarding this, I'm not talking about delays. Many repls I use won't
> update rl until I restart them, rendering incompatible the features of
> interactive session and resizable window.

I mean update delays as in distributing new code versions.

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



reply via email to

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