diff options
author | aycabta <aycabta@gmail.com> | 2021-09-03 00:27:22 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-09-03 01:12:46 +0900 |
commit | 8c067f182e74f7e0570d200ee6308ea85ab676d0 (patch) | |
tree | b93b27f4e8128a8af602184b4a62f09fe16d632f | |
parent | a95262356ef5b975f4b4b88db97dca93f451f74b (diff) |
[ruby/reline] Autocompletion ignites when target char length is 3 or longer
https://github.com/ruby/reline/commit/261830fda3
-rw-r--r-- | lib/reline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline.rb b/lib/reline.rb index 1b5c7a8ce3..f1f82bff72 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -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 |