summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2014-03-08 01:55:11 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2014-03-08 01:55:11 +0900
commit875f9b6534df7a3b9020b922e1902cfd4a3fcbc1 (patch)
tree7d15727e80a423d8b7a0827cb3b2496b3dd61b14
parent871dfb709d9c5c9d469e655f5d83fbd0c2fdfb04 (diff)
Reduce timeout to 0.1 sec
-rwxr-xr-xfzf2
1 files changed, 1 insertions, 1 deletions
diff --git a/fzf b/fzf
index 33823d38..ec10ce4a 100755
--- a/fzf
+++ b/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