bug-ncurses
[Top][All Lists]
Advanced

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

Re: tty_update.c (part 3)


From: Thomas Dickey
Subject: Re: tty_update.c (part 3)
Date: Sat, 14 Dec 2002 07:23:17 -0500
User-agent: Mutt/1.4i

On Sat, Dec 14, 2002 at 08:15:02AM +0100, Philippe Blain wrote:
> Line 1656 :
> I don't understand the test for saving cursor when the terminal has a
> settable scrolling region.  Is it some rest of old code ?
> The terminfo pages do not mention that the cursor must be at bottom
> before setting a scrolling region, and I don't see relation with n==1 ?
> All sufficient cases are considered in scroll_csr_forward/backward.
> 

My understanding of this part is that some terminals require
the cursor to be within the scrolling margins before the scrolling
margins are set - otherwise the operation doesn't work properly.
Since we're moving the cursor, we'd like to do it efficiently.
 
-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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