diff options
Diffstat (limited to 'core/ext/keys.lua')
-rw-r--r-- | core/ext/keys.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ext/keys.lua b/core/ext/keys.lua index a2509c6c..72e9294c 100644 --- a/core/ext/keys.lua +++ b/core/ext/keys.lua @@ -95,7 +95,8 @@ local function keypress(code, shift, control, alt) local key --print(code, string.char(code)) if code < 256 then - key = string_char(code):lower() + key = string_char(code) + shift = false -- for printable characters, key is upper case if MAC and not shift and not control and not alt then local ch = string_char(code) -- work around native GTK-OSX's handling of Alt key |