max-niederman / ttyper

Terminal-based typing test.
MIT License
1.11k stars 78 forks source link

[Feature Request] Sudden death mode #108

Closed PappasBrent closed 9 months ago

PappasBrent commented 10 months ago

It would be nice if ttyper offered a "sudden death" mode for those wanting to focus on improving their typing accuracy. If one were to make a mistake in sudden death mode, they would instantly start a new test (for an example, see TypeRacer's sudden death mode.). Currently one can simulate this behavior by pressing escape and then r whenever they make a mistake, but this is not ideal since it requires two extra keystrokes for each failed test. Ideally, a user should be able to start ttyper in sudden death mode by passing a flag, e.g.:

ttyper --sudden-death
PappasBrent commented 10 months ago

If this feature sounds desirable, feel free to assign me to it. I'm wiling to work on this myself and submit a PR for review after making the change.