lemnos / tt

A terminal based typing test.
MIT License
737 stars 49 forks source link

[Feature Request] Show word count and the duration of the test in the report. #40

Open amalgame21 opened 1 year ago

amalgame21 commented 1 year ago

Now the information shown in the report is very limited, only WPM, CPM, accuracy, mistakes and attribution in -quotes. I have some text files having paragraphs exceeded thousand characters, which takes a lot of time to complete the test. I would like to know the duration that I performed the test, but I do not want to manually count the words in the previous paragraph and do the math ( word count / WPM), or start a counter when I start a test.

amalgame21 commented 1 year ago

Just found out the WPM is CPM/5 in the source code... why?

jmonroynieto commented 1 year ago

From my reading, this is to simplify the calculation. I have seen similar code in similar programs. Primarily, the issue is that this program supports live WPM counts as you go through an exercise. Having different methods to count live and upon completion might cause a large mismatch that would make the live count misleading.