fzy

terminal fuzzy finder picker

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

commit 7a88cdc6ab1b8ff0049cb97dbf12bf06439dc5ba
parent b52a5eed598347e1052b24c9425175ceb3b1283c
Author: John Hawthorn <john.hawthorn@gmail.com>
Date:   Sat, 13 Sep 2014 20:56:40 -0700

Add TAB

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

diff --git a/fzy.c b/fzy.c @@ -207,6 +207,9 @@ void run(tty_t *tty){ action_next(); }else if(ch == 16){ /* C-P */ action_prev(); + }else if(ch == 9){ /* TAB */ + strncpy(search, choices[choices_sorted[current_selection]], SEARCH_SIZE_MAX); + search_size = strlen(search); }else if(ch == 10){ /* Enter */ clear(tty); emit(tty);