[Top][All Lists]

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

Re: problem with trivial piece of code

From: Thomas Dickey
Subject: Re: problem with trivial piece of code
Date: Sat, 31 Jan 2004 08:11:42 -0500 (EST)

On Sat, 31 Jan 2004, Folkert van Heusden wrote:

> Hi Thomas,
> I found the problem: there was a \r in the text that I printed. As soon as
> wprintw finds this \r, the line is cleared.

yes - actually the code says ncurses moves the cursor to the beginning of
the line (it may not be cleared).

Checking, though, I don't see it documented properly in the manpage (and
that raises the issue of what other implementations do).  I'll check on
that and document it properly.

Thomas E. Dickey

reply via email to

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