bugGNU nano - Bugs: bug #57507, with Slang, the first input byte...

 
 

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

bug #57507: with Slang, the first input byte after a resize is eaten

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 30 Dec 2019 04:32:47 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Fri 03 Jan 2020 10:53:13 AM UTC, comment #2: 

The problem is sidestepped by commit 2867f1bb: when built with Slang, terminal resizes are ignored.

Benno Schulenberg <bens>
Group administrator
Wed 01 Jan 2020 12:59:54 PM UTC, comment #1: 

Fixed in git, commit 5527883c.

(To make the <Ctrl+Down> in the recipe work, you have to use --raw.)

The first keystroke after a resize is now no longer eaten.  However, resizing the window doesn't actually have any effect: nano does not adapt to it.  See bug #57513.

Benno Schulenberg <bens>
Group administrator
Mon 30 Dec 2019 04:32:47 PM UTC, original submission:  

To reproduce, configure nano with --with-slang, compile, and then run 'src/nano --ignore README'.  Then resize the window (typing F11 twice to maximize and unmaximize the terminal is easiest), then type M-P.  See how a "p" is entered into the buffer.  Resize again and type <Ctrl+Down>.  See how "[1;" is entered into the buffer.  Resize again and type ^K.  The ^K is ignored.  Only a second ^K has effect.

Expected behavior: also after a resize, the first keystroke should have its intended effect, and not be garbled or ignored.

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-02-09 bens Open/ClosedOpen Closed
    2020-01-01 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code