[Top][All Lists]

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

Re: printw() only prints blank lines ...

From: Thomas Dickey
Subject: Re: printw() only prints blank lines ...
Date: Tue, 26 Jul 2005 19:16:12 -0400 (EDT)

On Tue, 26 Jul 2005, Jackman, Robert wrote:

If I use printf() to the print out this message all is well.

However if I implement ncurses in the program and use printw instead of
printf() I just get a blank space where the text output would normally
appear ?!??

Perhaps the buffer contains text that was intended to overstrike.
ncurses interprets some characters.  For instance, something like


would move the cursor to the first column and (in interpreting \n) clear
the remainder of the line.  See the waddch() manpage.

Thomas E. Dickey

reply via email to

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