Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows cmd: Typing brackets prepends a meta character #298

Closed
larskanis opened this issue Jul 8, 2021 · 0 comments · Fixed by #299
Closed

Windows cmd: Typing brackets prepends a meta character #298

larskanis opened this issue Jul 8, 2021 · 0 comments · Fixed by #299

Comments

@larskanis
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant