fzy

terminal fuzzy finder picker

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

commit ad53c6bef8432394c62d46a03e997bafddfb5d27
parent 08d1ec03152c606bf937b674d4118c1bda26ca34
Author: Tianyu Geng <tgeng@google.com>
Date:   Mon, 19 Mar 2018 20:53:28 -0700

Fix home/end support on Mac

Diffstat:
Msrc/tty_interface.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/tty_interface.c b/src/tty_interface.c @@ -280,7 +280,9 @@ static const keybinding_t keybindings[] = {{"\x7f", action_del_char}, /* DEL */ {"\x1bOC", action_right}, /* RIGHT */ {"\x1b[C", action_right}, /* RIGHT */ {"\x1b[1~", action_beginning}, /* HOME */ + {"\x1b[H", action_beginning}, /* HOME */ {"\x1b[4~", action_end}, /* END */ + {"\x1b[F", action_end}, /* END */ {"\x1b[A", action_prev}, /* UP */ {"\x1bOA", action_prev}, /* UP */ {"\x1b[B", action_next}, /* DOWN */