Skip to content
New issue

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

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

Already on GitHub? # to your account

Options specifies how to parse #2

Merged
merged 2 commits into from
Mar 19, 2022

Conversation

pavelpatrin
Copy link

Added possibility to specify parse options while calling global module functions, e.g. Parse().

  • WithIgnoreInvalidCodes - switches off the error on unexpected ANSI code;
  • WithDefaultForegroundColor - allows us to specify default foreground color (code 39);
  • WithDefaultBackgroundColor - allows us to specify default background color (code 49).

@pavelpatrin pavelpatrin changed the title Options how to parse Options specifies how to parse Mar 19, 2022
@leaanthony leaanthony merged commit 6785cb9 into leaanthony:main Mar 19, 2022
@leaanthony
Copy link
Owner

Thanks for doing this. Will tag today 👍

@pavelpatrin
Copy link
Author

pavelpatrin commented Mar 19, 2022 via email

@leaanthony
Copy link
Owner

Tagged!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants