bug-ncurses
[Top][All Lists]
Advanced

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

Re: What, exactly, _is_ "line-breakout optimization"?


From: G. Branden Robinson
Subject: Re: What, exactly, _is_ "line-breakout optimization"?
Date: Sat, 25 May 2024 16:15:18 -0500

Hi Bill,

At 2024-05-19T22:13:33-0400, Bill Gray wrote:
> On 5/19/24 17:06, G. Branden Robinson wrote:
> > 
> > https://github.com/ThomasDickey/ncurses-snapshots/blob/master/ncurses/tty/tty_update.c#L1018
> > https://github.com/ThomasDickey/ncurses-snapshots/blob/master/ncurses/tty/tty_update.c#L367
> 
>    Interesting.  Looks as if a check for key input is done every five
>    changed lines,  if typeahead() is enabled.

Yup.  What I'm still not clear on (because I haven't looked hard
enough) it whether what gets interrupted is the update of newscr to
curscr, or the actual terminal I/O (which if successfully completed
would update curscr, I think).

I could use a graph with data structures as the nodes and function calls
as the arcs.  :)

> > Too bad those line numbers will desync over time.  cgit makes it
> > easier to pin a URL to a tag.  I'm not sure how to do it on GitHub.
> > (Anyone know?)
> 
> Click on the line number of interest (367 or 1018).  "..." appears;
> click on that.  You get the options to 'copy line',  'copy permalink',
> 'view git blame',  or 'view file in different branch/tag'.  You want
> the second option,  a permanent link to that line in that branch :
[snip]

Thanks!  I'll keep this in mind.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

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