diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2013-11-24 20:40:23 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2013-11-24 20:40:23 +0900 |
commit | 39af56cf8f9d1a4aa32fb686e0228f3fdb44a081 (patch) | |
tree | 39234eb23e1050f016bb040098af18dd35c4fed9 | |
parent | 2d3a0a1034c21ddc7ef7829cacb24a92d93c8560 (diff) |
Revert "Reduce the number of Curses.refresh calls"0.5.0
This reverts commit 2d3a0a1034c21ddc7ef7829cacb24a92d93c8560
(which doesn't make any noticeable difference)
-rwxr-xr-x | fzf | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |