[BRLTTY] gotoline for ht driver

Dave Mielke dave at mielke.cc
Fri Mar 3 17:22:15 EST 2006


[quoted lines by Mario Lang on 2006/03/03 at 22:28 +0100]

>This is pretty useful!  However, I'd like to make the second
>gotoline do the reverse, but for that, I need the number of rows of
>the current screen.  Can a driver retrieve that easily?  I mean, the
>second definition should gotoline from the bottom of the screen.

Did you know about the two flags that it accepts, i.e. BRL_FLG_LINE_TOLEFT and
BRL_FLG_LINE_SCALED? BRL_FLG_LINE_TOLEFT moves to the left end of the selected
line. BRL_FLG_LINE_SCALED makes the routing keys like a scroll bar.

What about adding a third flag, e.g. BRL_FLG_LINE_BOTTOM, which would do what
you're looking for?

-- 
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave at mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list