diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 764176c167..ea671d1b49 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -857,7 +857,7 @@ class Reline::LineEditor @waiting_proc = proc { |key| arg.times do if key == "\C-j".ord or key == "\C-m".ord - ed_newline(key) + key_newline(key) else ed_insert(key) end