Reduce timeout to 0.1 sec

pull/25/head
Junegunn Choi 10 years ago
parent 871dfb709d
commit 875f9b6534

2
fzf

@ -753,7 +753,7 @@ class FZF
end
end
def read_nb chars = 1, default = nil, tries = 20
def read_nb chars = 1, default = nil, tries = 10
tries.times do |_|
begin
return @tty.read_nonblock(chars).ord

Loading…
Cancel
Save