m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

Revert "Reduce the number of Curses.refresh calls"

This reverts commit 2d3a0a1034
(which doesn't make any noticeable difference)
This commit is contained in:
Junegunn Choi
2013-11-24 20:40:23 +09:00
parent 2d3a0a1034
commit 39af56cf8f

4
fzf
View File

@@ -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