On Sun, 12 Jun 2005, Daniel Jacobowitz wrote:

On Sun, Jun 12, 2005 at 01:27:05PM +0930, Ron wrote:
I'll be happy to make and test a patch if there is agreement on
a desirable remedy.  Who (else) would I need to convince to make
that a useful thing to pursue?

Thomas Dickey.  But, don't you think that any action which moves the
cursor off the screen must be an error?  Remember, the cursor is
_visible_; we can't paint it if it's gone out of bounds.

When it's gone out of bounds, curses has to handle it specially.  On
anything but the lower-right corner, ncurses can treat this as a case
where the next addch will move the cursor (and has to store that state).
But in the corner with scrollok false, there's nowhere to go.

There are some programs that test for the error - changing the behavior
would break those.  (I don't have a list, but recall writing that into
some test code after someone reported it as an issue).

I don't think that there's a valid solution to this without a function
which adds characters to the screen, and leaves the cursor at its
previous location.

--
Daniel Jacobowitz
CodeSourcery, LLC


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to