Skip to content

Commit fe7e34e

Browse files
committed
Show even if it's only one candidate until a perfect match
1 parent 22ac2b6 commit fe7e34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/reline.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def get_screen_size
212212
result = call_completion_proc_with_checking_args(pre, target, post)
213213
pointer = nil
214214
end
215-
if result and result.size == 1 and result[0] == target
215+
if result and result.size == 1 and result[0] == target and pointer != 0
216216
result = nil
217217
end
218218
target_width = Reline::Unicode.calculate_width(target)

0 commit comments

Comments
 (0)