diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-04-18 05:07:07 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-04-24 01:02:47 +0200 |
commit | 459f14c098a662ae49ab12f7af11b4ff72467f34 (patch) | |
tree | b5e3b90f84a0a735aee5d16c3bccf6989b76573f /modules/regex/regex.cpp | |
parent | c7f56d327d265fa7b2541fe7c5e6cc1730661749 (diff) | |
download | redot-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