summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-23 18:40:03 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-23 18:40:03 +1000
commitb080272e01217b64a09a5fb9ea799a0c38f1448a (patch)
tree7c430c8e40e4b505d92c2aab4fa3ad725bd90cfe
parent416904b29bf111e3a6270b36de238ef2dbf7bfb4 (diff)
general: Fix regex issue.
-rw-r--r--pywal/reload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywal/reload.py b/pywal/reload.py
index 1f5c31c..322f581 100644
--- a/pywal/reload.py
+++ b/pywal/reload.py
@@ -48,7 +48,7 @@ def colors(vte, cache_dir=__cache_dir__):
# If vte mode was used, remove the unsupported sequence.
if vte:
- sequences = re.sub(r"\]708;(\[..\])?\#.{6}", "", sequences)
+ sequences = re.sub(r"\]708;(\[.{0,3}\])?\#.{6}", "", sequences)
print(sequences, end="")