bugGNU nano - Bugs: bug #61539, in current git with --zero, M-6...

 
 

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

bug #61539: in current git with --zero, M-6 and ^] clear the bottom row

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 24 Nov 2021 10:54:40 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 24 Nov 2021 11:17:15 AM UTC, comment #1: 

Fixed in git, commit be61aad9, by not bothering to wipe the status bar when --zero or --minibar is active, nor when LINES == 1.

Benno Schulenberg <bens>
Group administrator
Wed 24 Nov 2021 10:54:40 AM UTC, original submission:  

To reproduce, run:

src/nano --ignore --zero --nohelp NEWS

If needed, scroll the text with M-= so that there is text on the bottom row of the terminal.  Then type M-6.  See that the bottom row has been cleared.  Type ^L to restore the bottom row.

Now type: ver ^].  See that the bottom row is cleared again.  See that "ver" gets completed to "versions", but the bottom row is cleared again.

The problem is that several routines call wipe_statusbar() to be certain that any message that was there is cleared off.  But when --zero is active (or --minibar, and probably also when the terminal has just one row), there isn't really a status bar -- it is overlayed with the edit window, and if all goes well, the content of this window will overwrite the message.

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-11-24 bens StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code