bugGNU nano - Bugs: bug #61445, on a one-row terminal, M-C blanks...

 
 

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

bug #61445: on a one-row terminal, M-C blanks the screen

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 08 Nov 2021 02:09:00 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Tue 09 Nov 2021 11:34:22 AM UTC, comment #1: 

Fixed in git, commit f4282129, by ignoring M-C when LINES==1.

Bug existed since version 5.8.  The offending commit was 36ffb5f0: "suppress --constantshow when the terminal has just one row".  The commit forgot to handle also the toggle.

Benno Schulenberg <bens>
Group administrator
Mon 08 Nov 2021 02:09:00 PM UTC, original submission:  

To reproduce, run:

src/nano --ignore --quick NEWS

Then type: M-C <Right> <Right> <Right> <Up>
See that the M-C clears the row and that the horizontal cursor movements nor the attempted upward movements bring the line back.

Expected behavior: since 'constantshow' does not make sense on a one-row terminal, typing M-C should simply do nothing (OR it could do the same as ^C, to give the user the feedback they seem to want and to spare them having to type ^C instead).

[Will fix this after the --zero option has been merged, as I have to touch the same area of code.]

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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-16 bens Open/ClosedOpen Closed
    2021-11-09 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code