[rfk-dev] bug report

Peter A. H. Peterson pedro at tastytronic.net
Wed Sep 10 19:15:08 PDT 2008


Quoting Ryan Finnie:
> Looks like the last thing to be called is curses' endwin(), which is
> required to be the last curses statement, according to the man page.
> It handles all the cleanup and whatnot.  It's probably
> environment-dependent, much like how I've noticed less(1) will
> sometimes clear the screen and sometimes it won't when you exit it.
> 
> As far as I can see, we've got a few choices:
> 
> 1) Don't use curses (haw haw).
> 2) Sleep a bit after the animation/end text, then call endwin(), which
> may or may not clear the screen.
> 3) End animation, wait off on the text, call endwin(), then
> printf("\nYou found kitten! Way to go, robot!\n\n");
> 4) Do nothing different.

I think my preference would be #2 or if not #3.

Peter

-- 
Peter A. H. Peterson, technician and musician.
 ---=[ http://tastytronic.net/~pedro/ ]=--- 


More information about the rfk-dev mailing list