We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3339d67 + d7449c1 commit 64c2c2eCopy full SHA for 64c2c2e
src/textual/_xterm_parser.py
@@ -18,7 +18,7 @@
18
# to be unsuccessful?
19
_MAX_SEQUENCE_SEARCH_THRESHOLD = 32
20
21
-_re_mouse_event = re.compile("^" + re.escape("\x1b[") + r"(<?[-?\d;]+[mM]|M...)\Z")
+_re_mouse_event = re.compile("^" + re.escape("\x1b[") + r"(<?[-\d;]+[mM]|M...)\Z")
22
_re_terminal_mode_response = re.compile(
23
"^" + re.escape("\x1b[") + r"\?(?P<mode_id>\d+);(?P<setting_parameter>\d)\$y"
24
)
@@ -50,7 +50,7 @@
50
51
52
class XTermParser(Parser[Message]):
53
- _re_sgr_mouse = re.compile(r"\x1b\[<(-?\d+);(-?\d+);(-?\d+)([Mm])")
+ _re_sgr_mouse = re.compile(r"\x1b\[<(\d+);(-?\d+);(-?\d+)([Mm])")
54
55
def __init__(self, debug: bool = False) -> None:
56
self.last_x = 0.0
0 commit comments