summaryrefslogtreecommitdiffstats
path: root/ansiterm.py
diff options
context:
space:
mode:
Diffstat (limited to 'ansiterm.py')
-rw-r--r--ansiterm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansiterm.py b/ansiterm.py
index 0d20c63..027f0ad 100644
--- a/ansiterm.py
+++ b/ansiterm.py
@@ -264,7 +264,7 @@ else:
'u': pop_cursor,
}
# Match either the escape sequence or text not containing escape sequence
- ansi_tokens = re.compile('(?:\x1b\[([0-9?;]*)([a-zA-Z])|([^\x1b]+))')
+ ansi_tokens = re.compile(r'(?:\x1b\[([0-9?;]*)([a-zA-Z])|([^\x1b]+))')
def write(self, text):
try:
wlock.acquire()