terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Incorrect keys behaviour after Esc

Open Djaler opened this issue 6 years ago • 4 comments

Steps to reproduce:

  1. Open Terminal
  2. Press Esc
  3. Press a

Expected: a typed Actual: like "Enter" key pressed

Another example: Press p after Esc -> works like an Up key


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Djaler avatar Jun 01 '18 21:06 Djaler

Is this issue still happening as described?

In master, I find that Esc then a does nothing; Esc then p produces a ":" character the first time else it produces ^[p

I am not sure this is a bug of elementary.terminal. Mate Terminal behaves the same, so is probably a "feature" of Vte.Terminal

jeremypw avatar Jun 08 '18 18:06 jeremypw

We could ignore Esc characters if that was considered appropriate.

jeremypw avatar Jun 08 '18 18:06 jeremypw

Yeah, I think we could do it

Djaler avatar Jun 09 '18 13:06 Djaler

There does not seem to be any consensus within elementary whether #263 will break anything or whether the current behaviour of Vte is intended. In view of that I suggest this issue be raised upstream initially with the Vte developers.

I will withdraw the proposed fix for now.

jeremypw avatar Jun 04 '19 16:06 jeremypw