fzy

terminal fuzzy finder picker

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

commit e09b2cdef83ac006d61a695cc05dc51b67dc123a
parent eaf55097a432e1e5952b172b7e8db74c0ba10eba
Author: John Hawthorn <john.hawthorn@gmail.com>
Date:   Wed, 20 Aug 2014 19:07:46 -0700

Use full buffering rather than line-buffering

Diffstat:
Mtty.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/tty.c b/tty.c @@ -13,6 +13,7 @@ void tty_reset(tty_t *tty){ void tty_init(tty_t *tty){ tty->fdin = open("/dev/tty", O_RDONLY); tty->fout = fopen("/dev/tty", "w"); + setvbuf(tty->fout, NULL, _IOFBF, 4096); tcgetattr(tty->fdin, &tty->original_termios);