From 3c6e938bb11ceddb701b5584c3b47734590361b7 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 21 May 2014 10:22:17 +0900 Subject: [PATCH] Fix arrow keys on zsh widget Fixes the problem reported by @elemakil. For some reason unknown, sometimes the escape sequences of arrow keys are prefixed by 27-79 instead of the ordinary 27-91. --- fzf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fzf b/fzf index a0a0a0d..085c221 100755 --- a/fzf +++ b/fzf @@ -911,7 +911,7 @@ class FZF ord = case read_nb(1, :esc) - when 91 + when 91, 79 case read_nb(1, nil) when 68 then ctrl(:b) when 67 then ctrl(:f)