mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
0ec19cc843
commit
9baf1bd0a4
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ class Reline::LineEditor
|
|||
return before if before.nil? || before.empty?
|
||||
|
||||
if after = @output_modifier_proc&.call("#{before.join("\n")}\n", complete: finished?)
|
||||
after.lines("\n", chomp: true)
|
||||
after.lines("\n").map { |l| l.chomp('') }
|
||||
else
|
||||
before
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue