Skip to content

Windows cmd: Typing brackets prepends a meta character #298

Closed

Description

@larskanis

Description

What are your expected behavior and actual behavior of your environment?

When I type brackets on Windows with reline-0.2.6 an additional "^[" is prepended to each character. Typing "[{}]" into irb looks like so:
reline-brackets

but it should look like in reline-0.2.5:
reline-brackets-correct png

On a German keyboard the brackets "{[]}" are on "Alt-Right + 7" to "Alt-Right + 0". So one has to press Alt-Right, which types a "^[" on it's own - before the actual key 7 to 0 is pressed.

This issue was introduced by commit 06c1f45

Terminal Emulator

What's your terminal emulator?

Windows cmd

Activity

  1. added 2 commits that reference this issue on Jul 8, 2021
    2135c9f
    72acfcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions