test for mousewheel support

Raph gibboris at gmail.com
Fri May 18 13:02:22 CEST 2012


On Thu, May 17, 2012 at 05:50:21PM +0200, Marc Lehmann wrote:
> On Thu, May 17, 2012 at 05:21:07PM +0200, Raph <gibboris at gmail.com> wrote:
> > is there any way a terminal-based application can test for its terminal
> > built-in mouse wheel support ? and activation status ?
> 
> See urxvt(7) for the command sequences that rxvt-unicode supports. As for
> feature support, you can query the version number and make your deductions
> from there.
> 
> > The later only being actually useful I guess its not up the terminfo db
> > to provide it.
> 
> That sentence doesn't parse. However, what would "activation" tell you? Not
> every mouse has a mouse wheel, so the only way to find out if mouse wheel
> events are there is to ask the user to wheel and then test.

it does make sense

thank you



More information about the rxvt-unicode mailing list