summaryrefslogtreecommitdiffstats
path: root/modules/regex/regex.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2024-04-18 05:07:07 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2024-04-24 01:02:47 +0200
commit459f14c098a662ae49ab12f7af11b4ff72467f34 (patch)
treeb5e3b90f84a0a735aee5d16c3bccf6989b76573f /modules/regex/regex.cpp
parentc7f56d327d265fa7b2541fe7c5e6cc1730661749 (diff)
downloadredot-engine-459f14c098a662ae49ab12f7af11b4ff72467f34.tar.gz
Strip ANSI escape codes from file logging
Text editors cannot display ANSI escape codes, so these should be stripped from log files to ensure readability. Since this uses a regex, this works both for `print_rich()` and manually inserted ANSI escape codes. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Diffstat (limited to 'modules/regex/regex.cpp')
0 files changed, 0 insertions, 0 deletions