mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-15 17:57:07 +00: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:
parent
2d3a0a1034
commit
39af56cf8f
4
fzf
4
fzf
@ -638,9 +638,7 @@ class FZF
|
|||||||
Thread.new do
|
Thread.new do
|
||||||
begin
|
begin
|
||||||
while blk = @queue.shift
|
while blk = @queue.shift
|
||||||
blks = [blk]
|
blk.call
|
||||||
blks << blk while blk = (@queue.shift(true) rescue nil)
|
|
||||||
blks.each { |blk| blk.call }
|
|
||||||
refresh
|
refresh
|
||||||
end
|
end
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
|
Loading…
Reference in New Issue
Block a user