summaryrefslogtreecommitdiffstats
path: root/fzf
diff options
context:
space:
mode:
Diffstat (limited to 'fzf')
-rwxr-xr-xfzf4
1 files changed, 1 insertions, 3 deletions
diff --git a/fzf b/fzf
index 684759f2..2e53d985 100755
--- a/fzf
+++ b/fzf
@@ -638,9 +638,7 @@ class FZF
Thread.new do
begin
while blk = @queue.shift
- blks = [blk]
- blks << blk while blk = (@queue.shift(true) rescue nil)
- blks.each { |blk| blk.call }
+ blk.call
refresh
end
rescue Exception => e