summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-01-28 16:25:27 +0900
committeraycabta <aycabta@gmail.com>2021-02-07 05:10:36 +0900
commit433b975fe88df3eac87dee970f7c46d668774023 (patch)
treea55a83f60967f905a44166f1864e190d1eacfbf0
parentb69c965f477af1b2eb883137b3df9da8fca7b616 (diff)
[ruby/reline] Initialize uninitialized variables in tests
https://github.com/ruby/reline/commit/25af4bb64b
-rw-r--r--lib/reline/line_editor.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb
index 33686acc7c..ca1df53310 100644
--- a/lib/reline/line_editor.rb
+++ b/lib/reline/line_editor.rb
@@ -231,6 +231,8 @@ class Reline::LineEditor
@scroll_partial_screen = nil
@prev_mode_string = nil
@drop_terminate_spaces = false
+ @in_pasting = false
+ @auto_indent_proc = nil
reset_line
end