Skip to content

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

Merged
tompng merged 1 commit into
ruby:masterfrom
tompng:no_reline_key
Jun 4, 2024
Merged

tompng merged 1 commit into
ruby:masterfrom
tompng:no_reline_key

Conversation

@tompng

@tompng tompng commented Jun 3, 2024

Copy link
Copy Markdown
Member

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
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants