bug-ncurses
[Top][All Lists]
Advanced

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

Re: wclear forces complete screenredraw?


From: Max J. Werner
Subject: Re: wclear forces complete screenredraw?
Date: Wed, 5 May 2004 14:26:19 +0200
User-agent: Mutt/1.5.4i

On May 05, 2004, 11:23, Folkert van Heusden wrote:
> Hi,
> 
> I wrote a program which has aprox 6 windows on the terminal.
> When I do a wclear on 1 (!) window which consists of 1 vertical line, it
> seems ncurses refreshes the *whole* terminal! What can I do to prevent
> this? It slows my program considerably down on slow links.

Hi Folkert,

don't use wclear(), use werase()! wclear() calls clearok (indirectly) so
the whole screen gets redrawn on wrefresh().

Cheers,
Max




reply via email to

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