Skip to content

Commit a467c0d

Browse files
committed
Fix invalid escape sequence deprecation warning
1 parent 7f86c07 commit a467c0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

curtsies/window.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,9 @@ def retrying_read():
354354
c = retrying_read()
355355
resp += c
356356
m = re.search(
357-
"(?P<extra>.*)"
358-
"(?P<CSI>\x1b\\[|\x9b)"
359-
"(?P<row>\\d+);(?P<column>\\d+)R",
357+
r"(?P<extra>.*)"
358+
r"(?P<CSI>\x1b\[|\x9b)"
359+
r"(?P<row>\d+);(?P<column>\d+)R",
360360
resp,
361361
re.DOTALL,
362362
)

0 commit comments

Comments
 (0)