bugGNU nano - Bugs: bug #48455, Esc followed by ^Arrow enters a...

 
 

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

bug #48455: Esc followed by ^Arrow enters a sequence into buffer

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 10 Jul 2016 10:28:28 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 13 Jul 2016 11:04:06 AM UTC, comment #2: 

Fixed in git, b4babc2.

Benno Schulenberg <bens>
Group administrator
Mon 11 Jul 2016 02:45:29 PM UTC, comment #1: 

The same thing happens for <Esc> Alt+Arrow.  Attached patch fixes it for me.

(file #37803)

Benno Schulenberg <bens>
Group administrator
Sun 10 Jul 2016 10:28:28 AM UTC, original submission:  

To reproduce, run 'src/nano' and type: <Esc> Ctrl+Up <Esc> Ctrl+Down.  The strings ";5A" and ";5B" are entered into the buffer.  The corresponding thing happens for Ctrl+Left and Ctrl+Right.

Bug exists since nano-2.6.0.  It is the added code for the iTerm sequences with a double Escape that causes this.

Expected behavior: when the sequence with a double escape is not a recognized iTerm sequence, nano should ignore the first escape and try to interpret the sequence then -- like it seemingly did before.

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-30 bens Open/ClosedOpen Closed
    2016-07-13 bens StatusIn Progress Fixed
    2016-07-11 bens Attached File- Added 0001-input-accept-only-the-four-iTerm-sequences-that-actu.patch, #37803
        StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code