Skip to content

Commit 8588be6

Browse files
authored
Don't skip start_with check on encoding-incompatible candidates (#787)
1 parent 4df825c commit 8588be6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/reline/line_editor.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,6 @@ def editing_mode
812812
if defined?(::Readline) && ::Readline == ::Reline
813813
raise Encoding::CompatibilityError, "incompatible character encodings: #{target.encoding} and #{item.encoding}"
814814
end
815-
816-
next true
817815
end
818816

819817
if @config.completion_ignore_case

0 commit comments

Comments
 (0)