forgot [
This commit is contained in:
parent
300e2d1190
commit
193afd3853
@ -113,7 +113,7 @@ function computer.signalTransformers.key_down(s, a, ascii, key, user)
|
|||||||
inesc = true
|
inesc = true
|
||||||
return nil
|
return nil
|
||||||
elseif inesc then
|
elseif inesc then
|
||||||
if ascii < 48 and ascii > 57 and ascii ~= 59 then
|
if ascii < 48 and ascii > 57 and ascii ~= 59 and ascii ~= 91 then
|
||||||
inesc = false
|
inesc = false
|
||||||
key = escmap[ascii] or 0
|
key = escmap[ascii] or 0
|
||||||
ascii = 0
|
ascii = 0
|
||||||
@ -132,7 +132,7 @@ function computer.signalTransformers.key_up(s, a, ascii, key, user)
|
|||||||
inesc = true
|
inesc = true
|
||||||
return nil
|
return nil
|
||||||
elseif inesc then
|
elseif inesc then
|
||||||
if ascii < 48 and ascii > 57 and ascii ~= 59 then
|
if ascii < 48 and ascii > 57 and ascii ~= 59 and ascii ~= 91 then
|
||||||
inesc = false
|
inesc = false
|
||||||
key = escmap[ascii] or 0
|
key = escmap[ascii] or 0
|
||||||
ascii = 0
|
ascii = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user