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

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

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-10 bens StatusNone => Fixed

    Back to the top


    Powered by Savane 3.6