bug-ncurses
[Top][All Lists]
Advanced

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

Re: cleanCDKTemplate function in CDK


From: Thomas Dickey
Subject: Re: cleanCDKTemplate function in CDK
Date: Mon, 12 Sep 2005 12:29:42 -0400 (EDT)

On Mon, 12 Sep 2005, Fu Steve X wrote:

Hi, Thomas,

The current function cleanCDKTemplate causes the template widget unusable.
That is, the cursor stuck at the last position of the field after
cleanCDKTemplate was called. I had to work around by adding three extra
lines to my user program as follows.

        cleanCDKTemplate(myTmpl);
     myTmpl->screenPos = 0;
     myTmpl->infoPos = 0;
     myTmpl->platePos = 0;

Probably you need to add those three lines into the function
cleanCDKTemplate itself.

thanks

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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