Skip to content

Commit 4391539

Browse files
committed
fix incorrect explicit CAPS handling (typo z -> Z)
1 parent 19567da commit 4391539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,7 @@ def key_down(scan, eascii=''):
17451745
and not ignore_caps and len(eascii) == 1):
17461746
if eascii >= 'a' and eascii <= 'z':
17471747
eascii = chr(ord(eascii)-32)
1748-
elif eascii >= 'A' and eascii <= 'z':
1748+
elif eascii >= 'A' and eascii <= 'Z':
17491749
eascii = chr(ord(eascii)+32)
17501750
insert_chars(eascii)
17511751

0 commit comments

Comments
 (0)