From 355cd27f6c3f34f0fef17fdbbfc7bc8222c8451a Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 26 May 2014 19:53:44 +0100 Subject: Added character codes for alt-left, alt-right --- src/ui/inputwin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui') 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; -- cgit 1.4.1-2-gfad0 lue='switch'/> This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log blame commit diff stats
path: root/compiler/idgen.nim
blob: c6b1a4d074c1614bf2fd7d57567873a1a059a03d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11