bug-ncurses
[Top][All Lists]
Advanced

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

Re: Avoiding clearing the screen


From: Christer Enfors
Subject: Re: Avoiding clearing the screen
Date: Thu, 27 Dec 2007 14:24:00 +0100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Thomas Dickey wrote:
Looking at the code for 'refresh', I see the problem:
    if (win->_clear) {
        win->_clear = FALSE;
        newscr->_clear = TRUE;
    }

...which is telling it that if any window does wclear(), then the working
window 'newscr' is cleared.  If you use werase() you should get the
expected result

Ah, yes. That worked. Thanks.

--
Christer Enfors
Sektionsledare I2 IF Fäktning
address@hidden
070-7654202




reply via email to

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