Re: [dev] [st] patch to support mouse wheel scrolling

From: Carlos Torres <vlaadbrain_AT_gmail.com>
Date: Tue, 6 Nov 2012 14:17:12 -0500

You're not saying that emacs sucks right?

I couldn't resist...
On Nov 6, 2012 1:51 PM, "Brandon Invergo" <brandon_AT_invergo.net> wrote:

> Gentlemen,
>
> Because, unfortunately, you sometimes have a mouse in your hand...
>
> Here's a patch to add support for buttons 4 and 5 on your mouse (usually
> the scroll wheel). Like the keyboard bindings in conf.def.h, you can
> choose strings to write to the tty upon pressing these buttons (well,
> upon scrolling the wheel, usually).
>
> The default values that I gave them ("\031" and "\005") will scroll in
> less (and man pages, of course), in screen's copy mode, and in
> vim...anything that uses CTRL-Y and CTRL-E to scroll. Obviously these
> won't work for Emacs users; for them I would recommend setting them to
> "\033[A" and "\033[B", which will move the cursor one line at a time,
> eventually scrolling when it reaches the edge of the terminal.
>
> Enjoy,
> -brandon
>
>
Received on Tue Nov 06 2012 - 20:17:12 CET

This archive was generated by hypermail 2.3.0 : Tue Nov 06 2012 - 20:24:06 CET