Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currently there's no way to strip ansi codes from a string, should add stripAnsi() or similar #3195

Open
demonnic opened this issue Oct 26, 2019 · 0 comments

Comments

@demonnic
Copy link
Member

@demonnic demonnic commented Oct 26, 2019

Brief summary of issue / Description of requested feature:

we have ansi2decho, but it would be nice to be able to just strip the ansi to make it a clean string

Steps to reproduce the issue / Reasons for adding feature:

  1. It was asked for on Discord. Worked around using ansi2decho and then a string.gsub to rip the decho tags out, but would be nice to have a single function for it and we can probably do it more efficiently than that.

Error output / Expected result of feature

Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.