[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH 1/2] bindings: remove the jumpy-scrolling toggle
Re: [Nano-devel] [PATCH 1/2] bindings: remove the jumpy-scrolling toggle entirely
Fri, 5 Apr 2019 19:21:12 -0600
On Fri, 5 Apr 2019 12:11:35 +0200
Benno Schulenberg <address@hidden> wrote:
> It is still possible to use the --jumpyscrolling option on the command
> line or 'set jumpyscrolling' in a nanorc file, but I cannot imagine
> that a user would want to toggle between smooth and jumpy scrolling
> while nano is running.
> - else if (!strcasecmp(input, "smoothscroll"))
> - s->toggle = JUMPY_SCROLLING;
A machine you access locally will use smoothscroll, but remotely accessing it
over a slow connection works better without smoothscroll.
This patch not only removes the default bind but also prevents anyone who used
it from rebinding the function. You are now forced to use a cli argument when
you remotely start nano, and forgetting the argument requires a restart of nano.