[BRLTTY] gotoline for ht driver
Mario Lang
mlang at delysid.org
Sat Mar 4 05:52:51 EST 2006
Dave Mielke <dave at mielke.cc> writes:
>>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.
Aha! No, I did not know about these.
> What about adding a third flag, e.g. BRL_FLG_LINE_BOTTOM, which would do what
> you're looking for?
Sounds like exactly what we need here. BRL_FLG_LINE_SCALED would maybe
be a workable alternative too, but I kind of like the idea that each
routing key from left/right corresponds to one line from top/bottom...
--
CYa,
Mario
More information about the BRLTTY
mailing list