bugGNU nano - Bugs: bug #56553, in a shallow terminal,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56553: in a shallow terminal, <Alt+Down> does strange things

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 26 Jun 2019 10:10:06 AM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 26 Jun 2019 11:09:14 AM UTC, comment #2: 

The complete reproduction recipe is:

  src/nano --ignore --line --smooth NEWS

Otherwise bisecting would find commit 946755a3 (where smooth scrolling became the default, in version 4.0) as the culprit.

Benno Schulenberg <bens>
Group administrator
Wed 26 Jun 2019 11:00:33 AM UTC, comment #1: 

Fixed in git, commit 5cfb7465.

Bug existed since version 2.9.6, commit 0d9080a2.

Benno Schulenberg <bens>
Group administrator
Wed 26 Jun 2019 10:10:06 AM UTC, original submission:  

To reproduce, make your terminal just three rows high, then run:

  src/nano --ignore --line NEWS

Now press <Alt+Down>.  See that now line 3 is displayed instead of line 2, and that the cursor is at the end of the line instead of at its start.  Weird.  Now try to scroll one line up with <Alt+Up>.  Nothing happens.  Now press plain <Up>.  The cursor is back at the beginning of line 1.  (Even if you did several times <Alt+Down>, a single <Up> will bring you back to line 1.  Weird.)

Expected behavior: <Alt+Down> should properly scroll one line down and keep the cursor in the desired column.

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-26 bens Open/ClosedOpen Closed
    2019-06-26 bens StatusIn Progress Fixed
    2019-06-26 bens StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code