1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Autocompletion ignites when target char length is 3 or longer

https://github.com/ruby/reline/commit/261830fda3
This commit is contained in:
aycabta 2021-09-03 00:27:22 +09:00 committed by git
parent a95262356e
commit 8c067f182e

View file

@ -195,7 +195,7 @@ module Reline
return nil
end
pre, target, post = retrieve_completion_block(true)
if target.nil? or target.empty?# or target.size <= 3
if target.nil? or target.empty? or target.size <= 3
return nil
end
if completion_journey_data and completion_journey_data.list