summaryrefslogtreecommitdiff
path: root/fzy.c
diff options
context:
space:
mode:
authorJohn Hawthorn <john@freerunningtechnologies.com>2014-08-18 13:34:39 -0700
committerJohn Hawthorn <john@freerunningtechnologies.com>2014-08-18 13:35:16 -0700
commit75c82985dafcdf78e5e705536cc66588682b2621 (patch)
tree18bee22eaa952d6d66974970cd082f38d9bfc334 /fzy.c
parent2ef572f7cc3e2252e372dc2342507bde0454acf1 (diff)
Up/Down might also be ^[OA or ^[OB
Diffstat (limited to 'fzy.c')
-rw-r--r--fzy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fzy.c b/fzy.c
index a5efe4c..510ac31 100644
--- a/fzy.c
+++ b/fzy.c
@@ -203,7 +203,7 @@ void run(tty_t *tty){
emit(tty);
}else if(ch == 27){ /* ESC */
ch = tty_getchar(tty);
- if(ch == '['){
+ if(ch == '[' || ch == 'O'){
ch = tty_getchar(tty);
if(ch == 'A'){ /* UP ARROW */
action_prev();