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

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 30 Dec 2019 04:32:47 PM UTC  
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  Benno Schulenberg <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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
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.

     

     

     

    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.7