lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Re: Some thought on additional TEXTAREA functions


From: dickey
Subject: Re: lynx-dev Re: Some thought on additional TEXTAREA functions
Date: Sat, 30 Jan 1999 06:19:36 -0500 (EST)

> 
> On Sat, Jan 30, 1999, Klaus Weide (address@hidden) said: 
> | 
> | On Sat, 30 Jan 1999, Kim DeVaughn wrote: 
> | 
> | > Specifically, I want to move the TEXTAREA's cursor from the anchor 
> | > that it currently appears in (whose line number within the overall 
> | > document, I know), to some other anchor that is also within the 
> | > same TEXTAREA, and whose line number within the document, I also 
> | > know.  Should be simple, huh ...? 
> | 
> | At which point do you wish the new cursor to have visibly changed - 
> | while mainloop is waiting for a new key here: 
> | 
> |                  real_c = c = LYgetch(); /* get user input */ 
> | 
> | Or at some other, intermediate point? 
>  
> Well, the position would logically get changed after the editor has 
> returned the data, but before curses is turned back on, and the screen 
> For some of the other proposed functions, I *think* curses would still 
> need to be turned off and back on while the new anchors were being 
> added, but in any case, a redraw would be needed after the operation 
> is completed (again ... I think). 

-- unless I misunderstand the comment:
bear in mind that if you turn curses on/off the screen gets cleared.
(slang _should_, but that's a bug that'll probably never get fixed,
like the lack of support for other stuff such as bce)
  
> /kim 


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

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