diff options
| author | Dylan Araps <[email protected]> | 2017-07-23 18:40:03 +1000 |
|---|---|---|
| committer | Dylan Araps <[email protected]> | 2017-07-23 18:42:54 +1000 |
| commit | 254c09146c740f0a558b709034f31959b6cd7190 (patch) | |
| tree | 060cd1093d3badd5b4ca991bdf0f138245737da7 | |
| parent | general: Add -a to support terminal transparency. (diff) | |
| download | pywal-254c09146c740f0a558b709034f31959b6cd7190.tar.xz pywal-254c09146c740f0a558b709034f31959b6cd7190.zip | |
general: Fix regex issue.
| -rw-r--r-- | pywal/reload.py | 2 |
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="") |