You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user's function has any output or if the system displays any output this will inherit the colour of the last output. This can also potentially cause issues if the user kills the job mid-run leaving the colour code active.
regarding the cause for the issue, good catch, this should indeed be fixed. Thanks for providing a PR!
side note
you raise some good points:
Choose the two colours in use -- for me the default Black is unreadable due to the colour of my terminal background.
I think it would make sense to replace Fore.BLACK with Fore.RESET in general. What do you think? This would probably alleviate the issue for most cases and be relatively low effort. However, if you feel strongly about making the ScreenLogger more flexible/customizable (turning colours off or using different colours), and are willing submit a PR for this, I will gladly review and merge it :)
Activity
t-muser commentedon Jul 5, 2024
Hi @d7919,
regarding the cause for the issue, good catch, this should indeed be fixed. Thanks for providing a PR!
you raise some good points:
I think it would make sense to replace
Fore.BLACKwithFore.RESETin general. What do you think? This would probably alleviate the issue for most cases and be relatively low effort. However, if you feel strongly about making theScreenLoggermore flexible/customizable (turning colours off or using different colours), and are willing submit a PR for this, I will gladly review and merge it :)t-muser commentedon Jul 10, 2024
I will close this for now