Skip to content

ALT + Arrows does not work in integrated terminal  #11908

Closed

Description

@BobReid

Alt and arrow keys insert characters into the terminal buffer instead of navigating to the begging and ends of words in the integrated terminal

Environment:
OS: OS X El Capitan
Version: VSCode 1.5.2

Repro:

  1. Open Integrated terminal
  2. Type 'cd ~/'
  3. Press Alt + Left Arrow

Expected:
Cursor should jump to begin of ~/ so ~ is highlighted

Actual
;5D is inserted into the buffer at cursors current location

Activity

  1. Tyriar commented on Sep 13, 2016

    @Tyriar
    Contributor

    I think this will be fixed when we uplevel xterm.js via xtermjs/xterm.js@8324b43

  2. added
    feature-request
    terminal
    on Sep 13, 2016
  3. BobReid commented on Oct 11, 2016

    @BobReid
    Author

    Is this fixed? I Just updated to 1.6.0 and am still seeing the issue in the integrated terminal.

  4. Tyriar commented on Oct 11, 2016

    @Tyriar
    Contributor

    It doesn't seem to be on Mac only. I reopened the upstream issue xtermjs/xterm.js#225

  5. added
    upstream
    on Oct 11, 2016
  6. viztastic commented on Dec 15, 2016

    @viztastic

    Issue still exists for me as well.

  7. Tyriar commented on Dec 16, 2016

    @Tyriar
    Contributor

    There is a PR put out upstream for this today xtermjs/xterm.js#417

  8. BobReid commented on Dec 19, 2016

    @BobReid
    Author

    Upstream PR was merged

  9. added
    verification-needed
    on Jan 20, 2017
  10. added
    verified
    on Jan 25, 2017
  11. jonhoo commented on Apr 24, 2017

    @jonhoo

    Is this related to Alt+Backspace not working?

  12. Tyriar commented on Apr 24, 2017

    @Tyriar
    Contributor

    Jon Gjengset (@jonhoo) we need a generic solution for this, here's the issue #11314

  13. locked and limited conversation to collaborators on Nov 18, 2017
  14. added a commit that references this issue on Sep 6, 2026
    2778e2f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestterminalupstreamverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions