fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
commit 8177d50e17ba4df6c15c6ab2181e6d44f6711fe4 parent c08b67a93e170b4781fe46ce9d2ce71006d03b8b Author: Keith Smiley <keithbsmiley@gmail.com> Date: Fri, 21 Jul 2017 11:46:40 -0700 Ignore bracketed paste characters Diffstat:
| M | src/tty_interface.c | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/tty_interface.c b/src/tty_interface.c @@ -152,6 +152,10 @@ static void action_prev(tty_interface_t *state) { choices_prev(state->choices); } +static void action_ignore(tty_interface_t *state) { + (void) state; +} + static void action_next(tty_interface_t *state) { update_state(state); choices_next(state->choices); @@ -236,6 +240,8 @@ static const keybinding_t keybindings[] = {{"\x7f", action_del_char}, /* DEL */ {"\x1bOB", action_next}, /* DOWN */ {"\x1b[5~", action_pageup}, {"\x1b[6~", action_pagedown}, + {"\x1b[200~", action_ignore}, + {"\x1b[201~", action_ignore}, {NULL, NULL}}; #undef KEY_CTRL