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.
This commit is contained in:
Junegunn Choi 2014-05-21 10:22:17 +09:00
parent 5a0afc5fea
commit 3c6e938bb1

2
fzf
View File

@ -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)