diff options
Diffstat (limited to 'lib/reline.rb')
-rw-r--r-- | lib/reline.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/reline.rb b/lib/reline.rb index f88c368e5c..d88a8d7265 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -222,7 +222,6 @@ module Reline line_editor.auto_indent_proc = auto_indent_proc line_editor.dig_perfect_match_proc = dig_perfect_match_proc line_editor.pre_input_hook = pre_input_hook - line_editor.rerender unless config.test_mode config.read @@ -232,6 +231,8 @@ module Reline end end + line_editor.rerender + begin loop do read_io(config.keyseq_timeout) { |inputs| |