bug-ncurses
[Top][All Lists]
Advanced

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

Re: filter() prevents clearing of screen, but still clears current line


From: Thomas Dickey
Subject: Re: filter() prevents clearing of screen, but still clears current line
Date: Fri, 16 Mar 2007 06:15:33 -0400 (EDT)

On Fri, 16 Mar 2007, Christer Enfors wrote:

I've got another problem with my instring program. Using filter() I've managed to avoid clearing the entire screen. But ncurses still clears the current line. I want to prevent ncurses from doing that. Does that mean that I'll have to change the ncurses source? I could probably figure out how to do that, but if there's an easier way...

I assume you mean that you don't want it to clear after the end of
your window on the current line.  Again, you can fool it:

        a) make ncurses think that the screen does not extend past your
           window's right margin, and
        b) remove the "el" capability (so it will be forced to use blanks
           to fill the line).

See use_env() for the first part.

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




reply via email to

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