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

 
 

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

bug #59180: on a one-row terminal, searching can hide the current line

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 25 Sep 2020 03:05:47 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Fri 25 Sep 2020 06:08:08 PM UTC, comment #2: 

Fixed in git, commit dac58bb6, by not wiping the status bar (or by scheduling a refresh of the edit window) when there is just one row.

Benno Schulenberg <bens>
Group administrator
Fri 25 Sep 2020 05:53:45 PM UTC, comment #1: 

The offending commit is f7d5a82a: "wipe the status bar before searching again (M-W / M-Q)".

That covers M-W/M-Q, but not yet the initial ^W.

Benno Schulenberg <bens>
Group administrator
Fri 25 Sep 2020 03:05:47 PM UTC, original submission:  

To reproduce, make an xterm window of one row, and run 'src/nano --ignore THANKS'.  Then type: ^W a <Enter>.  See that the cursor sits somewhere in a seemingly blank line.  Now type M-W three times.  The cursor jumps to other places in the blank line.  Type M-W again.  Now the cursor sits on the first "a" of "Translations".  Type M-W again.  The cursor now sits where the second "a" was, but the line is now blank.  :|

Bug exists in this form since version 4.4.  Before that, only after the initial ^W the line would be blank.

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
    2020-10-08 bens Open/ClosedOpen Closed
    2020-09-25 bens StatusIn Progress Fixed
    2020-09-25 bens StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code