diff options
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r-- | src/utils/stringutils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 89d3d7e9..ae105c6c 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -92,4 +92,12 @@ std::string strprintf(char const *, ...) */ std::string &removeBadChars(std::string &str); +/** + * Removes colors from a string + * + * @param msg the string to remove the colors from + * @return string without colors + */ +std::string removeColors(std::string msg); + #endif // UTILS_STRINGUTILS_H |