Posted by Andreas von Rüden on November 2, 2004, 2:55 am
Please log in for more thread options
Hi all,
is there a way to let Term::ANSIMenu scroll a list of selectable items if it
is larger than the screen?
thanks for any information
Andreas
Posted by Peter Billam on November 3, 2004, 9:12 am
Please log in for more thread options
>
> is there a way to let Term::ANSIMenu scroll a list of selectable items
> if it is larger than the screen?
>
I can't speak for Term::ANSIMenu, but Term::Clui handles this not by
scrolling but by aksing the user for a substring clue; as soon as the
search is narrow enough for the remaining options to fit on the screen
then the choice is presented as usual.
See http://www.pjb.com.au/comp/clui.html and examples/test_script
for how this works ...
--
Regards, Peter
Peter Billam, DPIWE/ILS/CIT/Servers, hbt/lnd/l8, 6233 3061
Posted by Andreas von Rüden on November 5, 2004, 1:41 am
Please log in for more thread options
Peter Billam wrote:
>>
>> is there a way to let Term::ANSIMenu scroll a list of selectable items
>> if it is larger than the screen?
>>
> I can't speak for Term::ANSIMenu, but Term::Clui handles this not by
> scrolling but by aksing the user for a substring clue; as soon as the
> search is narrow enough for the remaining options to fit on the screen
> then the choice is presented as usual.
>
> See http://www.pjb.com.au/comp/clui.html and examples/test_script
> for how this works ...
>
Thank you for the hint, but asking for a substring clue is not wanted in
this case, because all items should be readable at (almost) the same time,
so scrolling would be perfect.