tweak modifier keys to include 'shift'

This commit is contained in:
Kartik K. Agaram 2022-05-27 23:34:20 -07:00
parent 0fab1b499d
commit f4235a1741
1 changed files with 4 additions and 1 deletions

View File

@ -17,8 +17,11 @@ function App.combine_modifiers(key)
if down('lalt') or down('ralt') then
result = result..'M-'
end
if down('lshift') or down('rshift') then
result = result..'S-' -- don't try to use this with letters/digits
end
if down('lgui') or down('rgui') then
result = result..'S-'
result = result..'s-'
end
result = result..key
return result