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
Allow Disabling Prefixes in PrefixPrinters. #170
Comments
Hi @jenslauterbach, thanks for the feedback. Since the feature is very I will work on this in the next days 👍 |
Thank you very much @MarvinJWendt. Much appreciated. |
Hi @jenslauterbach, sorry for the delay. I am in my exam phase so I don't have much time to work on this. We might ship this feature at the end of the month. |
@MarvinJWendt Thank you for the update. No need to explain yourself why it is taking longer. I can wait :) I wish you the best of luck for your exams 👍 |
Hi @jenslauterbach, I am currently implementing this. This is the current functionallity: Default behaviour
|
So this is now implemented in Styles can be disabled with |
@MarvinJWendt Looks like it will do what I wanted. I will try it as soon as I have some time. Thank you for implementing this new feature. |
I am currently trying to use pterm and would like to offer my users an option to output as plain text.
I'd like to use prefix printers (
pterm.Info.Println("")
) throughout my code, but if I want to offer plain text output, the prefix becomes a problem.It would be great to have a way to disable prefixes completely using a "global" switch, similar to
pterm.DisableColor()
orpterm.DisableDebugMessages()
.When the switch is used, the following behaviour would be great:
The text was updated successfully, but these errors were encountered: