Skip to content
Myr

Remove initial delay

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent b98fba4 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:fzf+2 added-2 removed
293 unmodified lines
294 plcount = 0 # prev list count295 q = ''296 vcursor = 0297 zz = [0, 0]298 delay = 0.0298 delay = -5299300 begin301 while true302 wait_for_completion = nil
92 unmodified lines
395 end396 end#new_search397398 # This small delay reduces the number of partial lists399 sleep [0.2, delay += 0.05].min unless user_input399 sleep [20, delay += 5].min * 0.01 unless user_input400401 if events.delete(:vcursor) || new_search402 @mtx.synchronize do403 plcount = [@matches.length, max_items].min
140 unmodified lines