Re: [PATCH] input: scroll on mousewheel instead of moving cursor

Benno Schulenberg <[email protected]>
Newsgroups gmane.editors.nano.devel
Message-ID <[email protected]>
Op 03-03-2024 om 22:02 schreef Andy Koppe:
> Yep, it's up to each editor to interpret the button 4 and 5 presses that 
> terminals in xterm mouse mode send for mousewheel events. I think nano 
> and vim have it right with three lines per wheel bump, as that's the 
> default in GUIs.

I felt it was too much and changed it to two lines per bump:

   https://git.savannah.gnu.org/cgit/nano.git/commit/?id=3d727266

(shortly after applying your patch).


Benno
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmXnNukFAwAAAAAACgkQUUu+Lrjhlh+Z
nA/8C97CLt4pTNjMKyiQkNPUcAilpsaFiAwMgaQ3g2ydhH6AMfis9T2OmN0ftUlYMvRgJAym2X2d
HX1xoiSSHa786CYOniVf7v3iyC+/yirmJw7FGhhNn6N8RATnbTZ1d1fX/OPraakanCx+7al67coj
gZakrVB2VTm5wbJe9K+obMGwGvue8CBRunff0RexRtJ3b2068ED43d7/qdkmFax8p0UMf4kFXTx1
IUg2Et2PUX+yGdlV/x++T60/Xs43F8pLWvrQq07hYkysMnhqPW+zRF/rseBVnleuqA6fjK7WmDwq
aY+4qFThm1xwAo4TdRT0v62UYIkqIjL0gq0EjIwrm6rOt6c63nbZAwFq5CsIBMu1ec3OYk9FU7xM
Y26CHGaMWn0TMksVSOiZ0vCgf16rOId0uYINZ1vkwxY8eMsRXX6jSx9fjzHx4hYtTMWQibfVnYhv
Gtbk4gF596hkDv4dvOnuNnf3gJ/gFSxwh40GAW9EEQfl2kea4TN3lWuGagIBT0Gk0/UxtbkkDdj0
cAnVQL21C+zJvd2V3Obif8XT51A63SbLaEjzK0x1REhv5ufy+BhBs/XslzRv9Qbwi3KOQK9FKpmt
s/LeZjz1YbzxMzNtVdnAJ3kzOBUeQhsJ6UEgy93B0r+5ZlzlJ7G7C8pUVMlN8am7cypI1BrHpdKV
yNc=
=LOGG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.