Re: [PATCH] input: scroll on mousewheel instead of moving cursor
Benno Schulenberg <[email protected]>
| Newsgroups | gmane.editors.nano.devel |
|---|---|
| Message-ID | <[email protected]> |
Op 18-09-2023 om 22:52 schreef Andy Koppe: > On 18/09/2023 12:22, Benno Schulenberg wrote: >> Which other terminal editors have a mouse mode? How do I activate it >> (so that I can see for myself how it behaves there)? > > vim: Put ':set mouse=a' into ~/.vimrc (or enter it in command mode). > > joe: Invoke with 'joe -mouse'. (Note single dash.) > > le: Mouse mode enabled by default. > > mcedit: Mouse mode enabled by default. Finally I took the time to look at this. And I must admit that I like the scrolling behavior of those editors (when mouse mode is enabled) better. So... I'm going to accept the patch. Does anyone have objections against this change in behavior? (One thing I noticed: with one bump of the scrollwheel, mcedit scrolls two lines, vim three, and joe four -- when on a real xterm. Strangely, when on an Xfce Terminal, each editor scrolls double the amount: mcedit four, vim six, and joe eight lines. Those strides I find too large.) Benno
OpenPGP_signature.asc
(application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmXWE20FAwAAAAAACgkQUUu+Lrjhlh8+ Rg/+NabSv8d1MeqsiSNh39nx+mGZf+DsjRB8eEugnLEYGirSkopSmGDPOKTXmGJ0tMO+3vMjt80P bQBoWCydGtCdlGwRtssKxWpe1CQ2j9prEwNYrLvH2F0cU8elttmcLDOe6gof6JF3DDZqAQFM7Z5u vcOVJ/8UXQQFsPWogGMxElrBAxqxsEHEIyEfaIYBmmWItSPcQdDp8GqqyEiAsH7ZMJWJCkzPL7b2 pqN6nZsNtQltdqNGNcz+mugSnsVJHpeuZrULxHuE5DOeduyWA8JungrGJh8aYtUlCIpp0vI0Lfx1 YaQ1Yd3lqzXNwOylkkJB6H9t2FP+vZG++kkkb76cXyRMtLRZmLGLNnfgsWy82unOHUFqwPNMESxY COZi3uGHjTWcmQvdfJ0Xgdi2eVAufEoNBJt3dYTLH1vZrw3jN4big0yMDOdMr2rqVDiq9b72haHB JZwE1LujDygSap5j/moMTtuGeDqtNDAY/kY+oZ+LAtqU2/bN0LV1Fb6ZR7NcFpLRVsJzZ7PRi7rP B0WrMDpQh4ITGMv8iuj0bnzNn5NMBeWPGc96nQD28dAEvhjZMUPga4j9sFiHhTJQTcqHcfB3WN5T E26CrLxKFZwJ09++KQJDTcHWRZ8SbkzepvtgTMCno38NWjkxIyY18Uz7LHeLoov9uk6C7HXEUIfm 9KQ= =azGn -----END PGP SIGNATURE-----