diff options
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r-- | lib/reline/line_editor.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 742ffedf9a..16736e025a 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -854,11 +854,7 @@ class Reline::LineEditor else temp_buffer[@line_index] = @line end - if temp_buffer.any?{ |l| l.chomp != '' } - @confirm_multiline_termination_proc.(temp_buffer.join("\n") + "\n") - else - false - end + @confirm_multiline_termination_proc.(temp_buffer.join("\n") + "\n") end def insert_text(text) |