fzy

terminal fuzzy finder picker

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

commit e4b406ac53c47c004ac974994e5a6bc62cd8ee4f
parent 69378ec32fe85655542f63d90917925fa935897d
Author: John Hawthorn <john.hawthorn@gmail.com>
Date:   Sat,  6 Sep 2014 19:19:06 -0700

Document termios flags used

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

diff --git a/tty.c b/tty.c @@ -19,6 +19,11 @@ void tty_init(tty_t *tty){ struct termios new_termios = tty->original_termios; + /* + * Disable both of + * ICANON Canonical input (erase and kill processing). + * ECHO Enable echo. + */ new_termios.c_lflag &= ~(ICANON | ECHO); tcsetattr(tty->fdin, TCSANOW, &new_termios);