Re: Cursor placement

Thomas Dickey <[email protected]>
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
On Sat, 10 Feb 2007, Urs Janßen wrote:

> [manual fwd. of a non-member submission to tin-users]
>
>> Is there an option to have the cursor (i.e., the terminal cursor) placed on
>> the highlighted item in Tin?
>
> No
>
>> I found the draw_arrow option, but even when this is set, the cursor is placed
>> on the bottom line of the screen.
>>
>> Having the cursor properly positioned is important if the user is reading the
>> screen with a braille display (http://www.mielke.cc/brltty/). The software
>> driving the braille display, e.g., BRLTTY, tracks the cursor, not a highlight
>> bar or an arrow.
>>
>> I've been evaluating various news readers, and came across this problem while
>> trying Tin.
>>
>> If there isn't an option for this, perahps it should be entered as a bug.
>
> Comments anyone? Thomas?

That would be by modifying ReadCh() and ReadWch(), also get_arrow_key().
I haven't thought about that (whether it's hard to know where to put
the cursor while waiting for input), but there are not many places to
change in tin, since it wraps the calls to getch().

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.