nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Benno Schulenberg
Subject: Re: [PATCH] input: scroll on mousewheel instead of moving cursor
Date: Wed, 21 Feb 2024 16:14:53 +0100
User-agent: Mozilla Thunderbird


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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]