Skip to content
Snippets Groups Projects
Commit 311c4a36 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Remove initial delay

parent b98fba4c
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ searcher = Thread.new {
q = ''
vcursor = 0
zz = [0, 0]
delay = 0.0
delay = -5
begin
while true
......@@ -396,7 +396,7 @@ searcher = Thread.new {
end#new_search
# This small delay reduces the number of partial lists
sleep [0.2, delay += 0.05].min unless user_input
sleep [20, delay += 5].min * 0.01 unless user_input
if events.delete(:vcursor) || new_search
@mtx.synchronize do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment