1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Added character codes for alt-left, alt-right

This commit is contained in:
James Booth 2014-05-26 19:53:44 +01:00
parent 52f66fde10
commit 355cd27f6c

View File

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