diff options
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index ae3ddb18..bf044c03 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -92,6 +92,12 @@ void toString_Sym(int key, int kmods, iString *str) { | |||
92 | else if (key == SDLK_RIGHT) { | 92 | else if (key == SDLK_RIGHT) { |
93 | appendChar_String(str, 0x2192); | 93 | appendChar_String(str, 0x2192); |
94 | } | 94 | } |
95 | else if (key == SDLK_UP) { | ||
96 | appendChar_String(str, 0x2191); | ||
97 | } | ||
98 | else if (key == SDLK_DOWN) { | ||
99 | appendChar_String(str, 0x2193); | ||
100 | } | ||
95 | else if (key < 128 && (isalnum(key) || ispunct(key))) { | 101 | else if (key < 128 && (isalnum(key) || ispunct(key))) { |
96 | appendChar_String(str, upper_Char(key)); | 102 | appendChar_String(str, upper_Char(key)); |
97 | } | 103 | } |