[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] RFC: stop <Enter> at bottom from scrolling half a screen wh
From: |
Benno Schulenberg |
Subject: |
[Nano-devel] RFC: stop <Enter> at bottom from scrolling half a screen when --smooth is used? |
Date: |
Wed, 7 Feb 2018 10:53:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Hello all,
Currently, when --smooth or 'set smooth' is used, and the cursor is on
the bottom row of the edit window, then, when <Enter> is pressed, the
screen is scrolled half a page. The same behavior occurs when you're
just typing along and automatic hard-wrapping kicks in while the cursor
is on the bottom row: the screen scrolls half a page. Neither of these
behaviors I experience as smooth. But: pasting a line-break instead of
pressing <Enter> behaves differently -- it scrolls just one row.
To see what I mean, run: nano --ignore --smooth +1 README
Then type: M-6 M-/ ^U ^U ^U
Note that for each pasted line-break, the screen scrolls one row.
Now press <Enter>. The screen scrolls half a page.
I propose that <Enter> (and automatic hard-wrapping), when the cursor
is on the bottom row, scrolls just one row, when --smooth is used.
What do you say?
Benno
- [Nano-devel] RFC: stop <Enter> at bottom from scrolling half a screen when --smooth is used?,
Benno Schulenberg <=