bug-ncurses
[Top][All Lists]
Advanced

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

Re: refresh before wrefresh


From: Thomas Dickey
Subject: Re: refresh before wrefresh
Date: Sat, 28 Aug 2010 18:07:19 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Aug 22, 2010 at 10:27:03PM -0700, Dan Gookin wrote:
> Is a refresh() required to display a window before a wrefresh() is used?
> 
> I have a program that makes four windows within the terminal window.  Each
> window is created with newwin().  Text is written with mvwaddstr() to each
> window, followed by a wrefresh() command on that window.  But the text
> doesn't show up unless there is an initial refresh() command given earlier in
> the code.  Is that normal behavior?  The reason I'm asking is that the code
> worked for older versions of Ncurses, but doesn't work now.

I tested back to ncurses 5.2 without seeing it work without the refresh.

Which version are you seeing it work for?

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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