bugGNU nano - Bugs: bug #60510, on a one-row terminal, the cursor...

 
 

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

bug #60510: on a one-row terminal, the cursor is shown in a status message

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 03 May 2021 02:28:37 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 23 May 2021 05:13:24 PM UTC, comment #3: 

Subsumed under bug #60570.

Benno Schulenberg <bens>
Group administrator
Mon 10 May 2021 10:35:57 AM UTC, comment #2: 

Fixed in git, commit 2cf28f9d, by 1) ensuring that the edit window will overwrite an unimportant message, 2) keeping the cursor off when the message has some importance, and 3) letting ncurses write out any edit-window changes before writing a message into the bottom window, so that a later wnoutrefresh(edit) will not overwrite the message.

Benno Schulenberg <bens>
Group administrator
Wed 05 May 2021 09:46:50 AM UTC, comment #1: 

This is complicated.  I don't understand any more when a message will stay on the status bar and when the file contents take precedence.  Sometimes even just the wnoutrefresh() in the main loop will rewrite the terminal -- for example when placing or removing an anchor.  And sometimes "Cancelled" stays put when this is not needed -- for example when cancelling a search prompt or any other prompt: the disappearing of the prompt is feedback enough.

Benno Schulenberg <bens>
Group administrator
Mon 03 May 2021 02:28:37 PM UTC, original submission:  

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

src/nano --ignore +1,35 NEWS

Then type M-].  Nano says "[ Not a bracket ]", which is fine, except that the cursor sits on the "o" -- the coordinate where it would be if the text was shown.

Problem exists since version 2.7.0, since nano no longer simply bails out when the terminal is really small.

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-10 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code