mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Show even if it's only one candidate until a perfect match
https://github.com/ruby/reline/commit/fe7e34e79f
This commit is contained in:
parent
6fe1c0783d
commit
f445d34c25
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ module Reline
|
|||
result = call_completion_proc_with_checking_args(pre, target, post)
|
||||
pointer = nil
|
||||
end
|
||||
if result and result.size == 1 and result[0] == target
|
||||
if result and result.size == 1 and result[0] == target and pointer != 0
|
||||
result = nil
|
||||
end
|
||||
target_width = Reline::Unicode.calculate_width(target)
|
||||
|
|
Loading…
Reference in a new issue