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

Andy Koppe <[email protected]>
Newsgroups gmane.editors.nano.devel
Message-ID <[email protected]>
On 18/09/2023 12:22, Benno Schulenberg wrote:
> 
> Op 17-09-2023 om 23:22 schreef Andy Koppe:
>> Having the mousewheel move the cursor in editors like nano was better 
>> than nothing, as at least it scrolls eventually once the cursor 
>> reaches the top or bottom, but it doesn't match the standard behavior 
>> of the mousewheel in GUI editors and other apps as well as in the 
>> mouse mode of other terminal editors.
> 
> 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.

micro: Mouse mode enabled by default.

mined: Mouse mode enabled by default.

emacs-nox: Put '(xterm-mouse-mode 1)' into '~/.emacs.d/init.el'.
(But mousewheel events aren't bound by default.)

Andy
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.