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
feature request: easier control on renderer #4
Comments
Hi @gilbh, Thanks for the issue! At the moment there isn't anything much simpler than this. However, I think you just pointed to a bug here, I should probably add a carriage return at the end of the block of messages from ticktock. Note that your solution breaks when we display multiple clocks 😬 . I will fix this ASAP! |
Nice. So: adding a carriage return is a good step, and please let me know when it is up. Also, regarding: This is a superficial suggestion. Not sure if possible/fits your design. Best! |
Hi @gilbh Thanks for the feedback, it's much appreciated! First, here is what exists now to globally change the formatting of rendered clocks. There is an "f-string" like way to change the format of all clocks, for example:
As you correctly point out, it is a pain to set this globally (need to import It is also possible to set this format string using an env var:
Which is, well, useful I guess, but also pretty cumbersome. Not sure why I put that in 🤔 . Now, as for the next steps. I do like your suggestion of setting the format through TBH, I initially did not see a use case for this but I am starting to see why one would want to do it. For example just counting occurrences of a I am not a big fan of having a Anyhow, this is all interesting: I will start with the easy fixes:
|
Yes, I very much agree with what you write here. Do keep me posted. |
I have made a release with |
Hi,
I noticed there is no carriage return in the ticktock message, so I wrote the following, but I was wondering if there could be a less verbose way of doing this:
Thanks!
The text was updated successfully, but these errors were encountered: