bugGNU nano - Bugs: bug #57991, going to the end of a help text...

 
 

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

bug #57991: going to the end of a help text can misdisplay the last line

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 13 Mar 2020 06:24:32 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Fri 13 Mar 2020 06:45:12 PM UTC, comment #1: 

Fixed in git, commit 4dedb1c1.

Benno Schulenberg <bens>
Group administrator
Fri 13 Mar 2020 06:24:32 PM UTC, original submission:  

To reproduce, make your terminal 40 columns wide.  Then run:
'LANGUAGE=fi src/nano --ignore'.  Then type: ^G M-/

See how on the bottom row it sayas "<ä/pois", instead of showing "M-Z" plus its full description.

Now type: M-\ ^W m-z <Enter>  ("m-z" are three separate characters)

See how now the last line is properly shown:

M-Z              Hyllytys käytössä/pois


Now type ^V.  See how "<ä/pois" is shown again.  Apparently the (invisible) cursor goes to the end of the line, and as that position is beyond the penultimate column of the screen, nano thinks it needs to scroll the line horizontally.

Now type ^Y several times.  For several other lines only a horizontally scrolled fragment will be visible.

A possible mitigation could be that for pagedown and such operations, the x position should always stay zero when in a help text.

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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-25 bens Open/ClosedOpen Closed
    2020-03-13 bens StatusNone Fixed
        Summarygoing to the end of the help text can misdisplay the last line going to the end of a help text can misdisplay the last line

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code