[Top][All Lists]

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

Re: forum for beginner type questions

From: Thomas Dickey
Subject: Re: forum for beginner type questions
Date: Sat, 05 Sep 2009 20:35:50 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Sep 03, 2009 at 08:11:30AM -0700, fpga wrote:
> I need to be able to overwrite existing text on the pad with new text very
> quickly indeed.

a test program demonstrating the issue would help...
> For speed I went for mvwaddstr() cos many of the chars are adjacent cos they
> belong to the same set. However when I cleared the vector holding objects
> containing the char *s that had been displayed and refilled it with new ones

ncurses has its own copy of the data which is passed via mvwaddstr().
If you were modifying ncurses's copy, it would be confused.

There are several sample/test programs in ncurses's sources -
perhaps those would be helpful.

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

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