diff --git a/common/edit.lua b/common/edit.lua index 345ff91..e1df23d 100644 --- a/common/edit.lua +++ b/common/edit.lua @@ -1163,9 +1163,10 @@ function input:translate(event, code, p1, p2) end elseif event == 'char' then - if not self:modifierPressed() then + if not self.pressed[keys.leftAlt] and + not self.pressed[keys.rightAlt] then self.fired = true - return input:toCode(code) + return code -- input:toCode(code) end elseif event == 'key_up' then