[lug] curses!

Anthony Foiani tkil at scrye.com
Mon Nov 7 13:39:59 MST 2011


"Doug Pintar" <ratnip3 at gmail.com> writes:

> I'm trying to use ncurses (I know, I know, hopelessly old-school,
> but I'm trying to model something else) and am having a problem.  I
> create a window, write a bunch of stuff to it, refresh it, and
> nothing shows up on my xterm.  This is using Linux Mint 11 with one
> of its standard "terminal" windows.  If I do a getch() first and
> wait for a character to be entered before doing the writing to the
> window, everything displays fine.  Ideas?  I can't find anything in
> the documentation that suggests why this might happen.

I would expect the library to do it for you, but are you sure that you
flushed all output?

I haven't worked with n?curses in years.  Do you have a small test
case?  Also, try it with a different terminal emulator, just in case?

Good luck,
t.




More information about the LUG mailing list