Skip to content
Discussion options

You must be logged in to vote

Your question is very similar to #23293

But instead of \u0000 you would use \u001B

.message = replace!(.message, r'\u001B', "")

Also remember to format your messages with ```, this vastly improves readability :)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@solarisfire
Comment options

Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants