fzy

terminal fuzzy finder picker

git clone https://9o.is/git/fzy.git

commit 524bdb1bf422a899f684943c74e2a416da1ff164
parent 5d391103f3031ca9a1ba43a87115486ee994884a
Author: John Hawthorn <john.hawthorn@gmail.com>
Date:   Fri, 11 Jul 2014 21:42:16 -0700

Fix output when ttyout == stdout

Diffstat:
Mfzy.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/fzy.c b/fzy.c @@ -132,6 +132,9 @@ void draw(){ } void emit(){ + /* ttyout should be flushed in the case that it is == stdout */ + fclose(ttyout); + int i; for(i = 0; i < choices_n; i++){ double rank = match(search, choices[i]);