aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 7ad56a39f8..eb576507e2 100644
--- a/lib/reline/line_editor.rb
+++ b/lib/reline/line_editor.rb
@@ -1605,7 +1605,7 @@ class Reline::LineEditor
else
@just_cursor_moving = false
end
- if @is_multiline and @auto_indent_proc and not simplified_rendering?
+ if @is_multiline and @auto_indent_proc and not simplified_rendering? and @line
process_auto_indent
end
end