|
From: | Thomas Dickey |
Subject: | Re: Function refresh() |
Date: | Mon, 20 Dec 2004 04:51:37 -0500 (EST) |
On Mon, 20 Dec 2004, jochen.walborn wrote:
As we see, refresh() will be called before wrefresh(..). 1) If the refresh() line will be moved after wrefresh(..), nothing will be drawn. 2) If I call refresh() additionally after wrefresh(..) the window will be drawn but the cursor will be moved to the upper left corner of the screen. Do you have an explanation for this behaviour ?
getch() is the same as wgetch(stdscr). wgetch(win) does a wrefresh(win) before reading data. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |