Implement a text mode for non-wordlist text files #7
+22
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello, this is a nice little typing tutor, thanks for this :)
Don't know if you'd be interested but I will be making a couple of
pull requests for the changes I made in my own fork. Cheers.
Users can now supply any kind of plain text file to type its
contents exactly; as opposed to the shuffled word approach of the
wordlist mode.
One gotcha is that since the typing stage is of width 80, the
user-supplied text file should be word wrapped to 80 columns or it
will break the layout.
We can either add a warning to the docs regarding this issue; or
make the width configurable; or word-wrap the user-supplied text
file automatically to 80 columns.