bugGNU nano - Bugs: bug #60563, on a one-row terminal,...

 
 

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

bug #60563: on a one-row terminal, --constantshow gets in the way

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 09 May 2021 03:40:38 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 23 May 2021 05:14:05 PM UTC, comment #2: 

Subsumed under bug #60570.

Benno Schulenberg <bens>
Group administrator
Sun 09 May 2021 05:32:51 PM UTC, comment #1: 

Fixed in git, commit 36ffb5f0, by not calling report_cursor_position() when the terminal has just one row.

Benno Schulenberg <bens>
Group administrator
Sun 09 May 2021 03:40:38 PM UTC, original submission:  

To reproduce, make your terminal one row high and then run:

src/nano --ignore --constant IMPROVEMENTS

See that the first line of the file is shown.  Now type <Right> a few times.  Oops: the view of the line gets blocked by the cursor-position reporting.  :|  Now type <Down> <Up>.  The first line is shown again, as it should.

When the terminal is too flat, nano automatically suppresses the help lines, and when needed also the title bar.  It should be the same for --constantshow: if there is no room, the cursor-poistion reporting should be suppressed.


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-05-23 bens Open/ClosedOpen Closed
    2021-05-09 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code