summaryrefslogtreecommitdiff
path: root/lib/reline/line_editor.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-05-25 01:13:02 +0900
committeraycabta <aycabta@gmail.com>2019-05-25 01:13:02 +0900
commit637ee7ee3853387b4f34aa350471692f1778693d (patch)
tree7c62fd7a80737123c86dc2ca02a13f0ef9ed7e65 /lib/reline/line_editor.rb
parent27bab6a569389e743f09dd52c58d8d127eaa7772 (diff)
Fix C-v C-j
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r--lib/reline/line_editor.rb2
1 files changed, 1 insertions, 1 deletions
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