Skip to content

Commit

Permalink
Don't skip start_with check on encoding-incompatible candidates (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored Nov 29, 2024
1 parent 4df825c commit 8588be6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/reline/line_editor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,6 @@ def editing_mode
if defined?(::Readline) && ::Readline == ::Reline
raise Encoding::CompatibilityError, "incompatible character encodings: #{target.encoding} and #{item.encoding}"
end

next true
end

if @config.completion_ignore_case
Expand Down

0 comments on commit 8588be6

Please sign in to comment.