Skip to content

Commit

Permalink
Merge pull request #311 from ima1zumi/add-alt-d-keycode-when-convert_…
Browse files Browse the repository at this point in the history
…meta-isnt-used

Add Alt+d keycode when convert-meta isn't used
  • Loading branch information
aycabta authored Dec 2, 2021
2 parents 7820fff + 328eddf commit 8ef3577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/irb/input-method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ def auto_indent(&block)
dialog.trap_key = nil
alt_d = [
[Reline::Key.new(nil, 0xE4, true)], # Normal Alt+d.
[27, 100], # Normal Alt+d when convert-meta isn't used.
[195, 164] # The "ä" that appears when Alt+d is pressed on xterm.
]

Expand Down

0 comments on commit 8ef3577

Please sign in to comment.