jrnxf / thokr

✨ sleek typing tui with visualized results and historical logging
MIT License
528 stars 18 forks source link

Log results to platform specific location #3

Closed nickwanninger closed 2 years ago

nickwanninger commented 2 years ago

What: Logging historical data to $XDG_DATA_HOME/thokr.log

Why: So nerds like me can plot progress over time

How: Results are logged whenever results are calculated. It may be smart to add a configuration to disable this, but that could be another comit

Checklist: N/A

nickwanninger commented 2 years ago

It should now log with the wordcount and duration. I modified the Thok structure to include a test_duration, and renamed the existing duration to time_remaining to clarify things a bit

jrnxf commented 2 years ago

Will cut a release in a bit, but merging for now! Thanks for the hard work @nickwanninger !

nickwanninger commented 2 years ago

For sure! Happy to help!