fix: qmptype.py types > < ? { }

This commit is contained in:
theupriser committed 2026-09-28 17:37:51 +02:00
1 parent 92c1e58f55
commit 332fdca4c2
1 file changed
+2 -1
+2 -1
View File
@@ -8,7 +8,8 @@ cmd({"execute": "qmp_capabilities"})
plain = {" ": "spc", "/": "slash", ".": "dot", "-": "minus", "'": "apostrophe", "\n": "ret", plain = {" ": "spc", "/": "slash", ".": "dot", "-": "minus", "'": "apostrophe", "\n": "ret",
"=": "equal", ",": "comma", ";": "semicolon", "\\": "backslash", "[": "bracket_left", "]": "bracket_right"} "=": "equal", ",": "comma", ";": "semicolon", "\\": "backslash", "[": "bracket_left", "]": "bracket_right"}
shifted = {"&": "7", "*": "8", "_": "minus", ":": "semicolon", "|": "backslash", "~": "grave_accent", shifted = {"&": "7", "*": "8", "_": "minus", ":": "semicolon", "|": "backslash", "~": "grave_accent",
"!": "1", "@": "2", "#": "3", "$": "4", "%": "5", "^": "6", "(": "9", ")": "0", "+": "equal", '"': "apostrophe"} "!": "1", "@": "2", "#": "3", "$": "4", "%": "5", "^": "6", "(": "9", ")": "0", "+": "equal", '"': "apostrophe",
">": "dot", "<": "comma", "?": "slash", "{": "bracket_left", "}": "bracket_right"}
for ch in text + "\n": for ch in text + "\n":
keys = [] keys = []
if ch.isalpha(): if ch.isalpha():