bugGNU nano - Bugs: bug #61508, in current git, with --zero,...

 
 

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

bug #61508: in current git, with --zero, cancelling can leave cursor in status bar

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 19 Nov 2021 11:57:38 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Fri 19 Nov 2021 03:30:39 PM UTC, comment #2: 

Should have added in the commit message that this brings the behavior of --zero more in line with that of --minibar.  Both are meant for the more-experienced nano user.

Benno Schulenberg <bens>
Group administrator
Fri 19 Nov 2021 03:20:21 PM UTC, comment #1: 

Fixed in git, commit 51a5f33b, by pushing the bottom row of the edit window to the "foreground" when the message is of level HUSH.

Benno Schulenberg <bens>
Group administrator
Fri 19 Nov 2021 11:57:38 AM UTC, original submission:  

To reproduce, run:

src/nano --ignore --zero --nohelp + README

Then type: ^B ^B M-- M--
The cursor is now on the bottom row at the end of the "you want to be..." line.
Now type: ^W ^C
See that the cursor is hanging in space somewhere in or around the "Cancelled" message.  This is not good.

Expected behavior: like in other cases where there is a message on the bottom row and the cursor is there too, the viewport needs to be scrolled one row to get the line with the cursor into view.

The problem here is that cancelled is of level HUSH, and when making --zero I thought that such messages shouldn't be shown at all: --zero should also reduce the amount of unneeded feedback (in this case: the disappearance of the prompt bar would be feedback enough).

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

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code