Skip to content

Commit

Permalink
[ruby/reline] Don't skip start_with check on encoding-incompatible
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored and matzbot committed Nov 29, 2024
1 parent c06dcba commit 7e02410
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 7e02410

Please sign in to comment.