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

Remove useless Reline::Key.new and update wrong comment for alt+d #963

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

tompng
Copy link
Member

@tompng tompng commented Jun 3, 2024

IRB sets one of the dialog.trap_key to Reline::Key.new(nil, 0xE4, true). This has no meaning.

It only matches to "\xE4" when convert-meta is enabled in Reline. But Reline's convert-meta is not working.
ruby/reline#710
Using Reline::Key.new(nil, 0xE4, true) might be a blocker for reline refactoring. (Of course Reline still needs to support for a while)

Alt+d unicodes

# The "∂" that appears when Alt+d in pressed on iTerm2. is wrong. iTerm2 part is wrong.
In mac keyboard, alt+d in many keyboard language source sends in normal text field in GUI applications. Some keyboard language source sends ð. Few qwerty keyboard language source sends other unicode characters.
For the same reason, # The "ä" that appears when Alt+d is pressed on xterm should be wrong, but I don't know the about the environment.

@st0012 st0012 added the bug Something isn't working label Jun 3, 2024
@tompng tompng merged commit a572180 into ruby:master Jun 4, 2024
30 checks passed
@tompng tompng deleted the no_reline_key branch June 4, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants