From 355cd27f6c3f34f0fef17fdbbfc7bc8222c8451a Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 26 May 2014 19:53:44 +0100 Subject: [PATCH] Added character codes for alt-left, alt-right --- src/ui/inputwin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index aa587594..8ac01b45 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -370,12 +370,12 @@ _handle_edit(int result, const wint_t ch, char *input, int *size) return 1; // ALT-LEFT - } else if ((result == KEY_CODE_YES) && (ch == 537)) { + } else if ((result == KEY_CODE_YES) && (ch == 537 || ch == 542)) { ui_previous_win(); return 1; // ALT-RIGHT - } else if ((result == KEY_CODE_YES) && (ch == 552)) { + } else if ((result == KEY_CODE_YES) && (ch == 552 || ch == 557)) { ui_next_win(); return 1;