Rafael Vanoni wrote:

> While looking into 2394, I noticed that the man pages for
> wrefresh() and
> similar routines recommend using one wnoutrefresh() per window
> and then
> a single doupdate() afterwards.
> 
> Currently, PowerTOP is calling wrefresh() for each window and then
> (unnecessarily) fflush'ing stdout. Each call to wrefresh() actually
> calls wnoutrefresh() and doupdate(), so the screen is flushed
> more times
> than it needs to.
> 
> I haven't filed a RFE for this yet, but here's a patch for it. Let me
> know what you think. 
> 
> thanks
> Rafael

Sounds more reasonable, please commit.

Thanks,
-Aubrey

Reply via email to