bugGNU nano - Bugs: bug #59816, when the search string is very...

 
 

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

bug #59816: when the search string is very long, the prompt bar can overflow

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 04 Jan 2021 02:36:31 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Mon 04 Jan 2021 02:54:25 PM UTC, comment #1: 

Fixed in git, commit e7a420ec.

Benno Schulenberg <bens>
Group administrator
Mon 04 Jan 2021 02:36:31 PM UTC, original submission:  

To reproduce, run 'src/nano --ignore --nohelp'.
Then type: ^W 123 M-V 003113 ^A
Now press and hold X, until the cactus reaches the right edge for the second time.  See how the prompt bar gets pushed one row up, the ">" continuation character is at the start of the bottom row, the cursor is below instead of on the "1", and the title bar has been pushed offscreen.

(Bug was found by code inspection, by looking at 'base + breadth(answer) != COLS' and realizing that this would work only when on the first "page".)

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-01-15 bens Open/ClosedOpen Closed
    2021-01-04 bens StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code