-
Notifications
You must be signed in to change notification settings - Fork 13
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
Wrapping ansi escapes? #1
Comments
I'm open to suggestions as to how to make this work without complicating the API for the existing use case. Honestly all the real hard work is done in the Lines 129 to 161 in 44b5e04
|
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given that this library already recognizes ansi escape sequences, could it offer a function to split out ansi escape sequences rather than stripping them? For instance, an iterator that alternates between
Escapes(&str)
andNormalStr(&str)
? That would enable use cases like wrapping escapes in a control sequence (such as\[
and\]
for the bash prompt).The text was updated successfully, but these errors were encountered: