We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22ac2b6 commit fe7e34eCopy full SHA for fe7e34e
lib/reline.rb
@@ -212,7 +212,7 @@ def get_screen_size
212
result = call_completion_proc_with_checking_args(pre, target, post)
213
pointer = nil
214
end
215
- if result and result.size == 1 and result[0] == target
+ if result and result.size == 1 and result[0] == target and pointer != 0
216
result = nil
217
218
target_width = Reline::Unicode.calculate_width(target)
0 commit comments