Revert "Reduce the number of Curses.refresh calls"

This reverts commit 2d3a0a1034
(which doesn't make any noticeable difference)
pull/17/head 0.5.0
Junegunn Choi 11 years ago
parent 2d3a0a1034
commit 39af56cf8f

4
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

Loading…
Cancel
Save