bug-ncurses
[Top][All Lists]
Advanced

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

Re: Reset the cursor posion in CDK


From: Thomas Dickey
Subject: Re: Reset the cursor posion in CDK
Date: Thu, 29 Dec 2005 15:58:04 -0500
User-agent: Mutt/1.5.11

On Fri, Nov 04, 2005 at 10:07:20AM -0500, Fu Steve X wrote:
> > Hi, Thomas,
> > 
> There are several input widgets such as itemlist or entry on my screen and I
> use traverseCDKScreen to start the event loop.
> 
> I also use a RESET callBack to refresh  the values of all the input widget
> after tabbing around. However, after the refreshing, the cursor still stays
> in where it was before the  RESET. Is there any easy way of re-position the
> cursor to its initial position, the upper left widget on the screen?

I think the real problem is in the widgets.  This week I've made some fixes
so they should move the cursor to the selected item as they process input.

(I might have overlooked some case, but it's working for me right now ;-)

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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