summaryrefslogtreecommitdiff
path: root/lib/reline.rb
diff options
context:
space:
mode:
authorThomas Leitner <t_leitner@gmx.at>2019-10-04 10:03:32 +0200
committeraycabta <aycabta@gmail.com>2019-12-17 13:19:37 +0900
commita1713bedb1de676fdd7d9bf3458b931c4702a1af (patch)
treef5962f0bfba674d12214661c2336635d5ad09c69 /lib/reline.rb
parent11db4d3a3b315ed2495ec0cdde4449554c002bff (diff)
[ruby/reline] Implement completion_append_character
There is already the possibility to set Reline.completion_append_character. However, it is not used by the line editor. https://github.com/ruby/reline/commit/ab798931b9
Diffstat (limited to 'lib/reline.rb')
-rw-r--r--lib/reline.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reline.rb b/lib/reline.rb
index c4c6b97d03..9a9f742909 100644
--- a/lib/reline.rb
+++ b/lib/reline.rb
@@ -212,6 +212,7 @@ module Reline
end
line_editor.output = output
line_editor.completion_proc = completion_proc
+ line_editor.completion_append_character = completion_append_character
line_editor.output_modifier_proc = output_modifier_proc
line_editor.prompt_proc = prompt_proc
line_editor.auto_indent_proc = auto_indent_proc