bugGNU nano - Bugs: bug #65428, "Misplaced cursor" error...

 
 

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

bug #65428: "Misplaced cursor" error when undoing a Backspace at EOF

Submitter:  correctmost <correctmost>
Submitted:  Thu 07 Mar 2024 10:06:32 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Open

Thu 07 Mar 2024 04:28:21 PM UTC, comment #2: 

Fixed in git, commit 862574f3, by basically reverting a mistaken commit from two years ago.

Thanks for reporting.

Benno Schulenberg <bens>
Group administrator
Thu 07 Mar 2024 04:00:58 PM UTC, comment #1: 

A recipe that does not require a custom test file:

src/nano --ignore --line  + README

and type: a ^N ^H M-\ M-U

Nano reports "Misplaced cursor" and the cursor is at the end of this message on the status bar.

Benno Schulenberg <bens>
Group administrator
Thu 07 Mar 2024 10:06:32 AM UTC, original submission:  

File set-up for 'cursor.txt':

for line in $(seq 19); do
  echo "";
done > cursor.txt;


Steps to reproduce:
1 - Run `nano --ignore + cursor.txt` in an 80x24 terminal
2 - Type a
3 - Ctrl + down
4 - Backspace
5 - Ctrl + y
6 - Alt + u
--> You should receive a "Misplaced cursor" error


Version: a13cd6a1775b03c20b5f6e9feb0060ced8768efb

correctmost <correctmost>

 

(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 (Posted a comment)
  • -email is unavailable- added by correctmost (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
    2024-03-07 bens StatusNone Fixed
        Summary&quot;Misplaced cursor&quot; error when undoing line join after scroll "Misplaced cursor" error when undoing a Backspace at EOF
    2024-03-07 bens Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code