Skip to content

Conversation

@gwn
Copy link

@gwn gwn commented Apr 21, 2019

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.

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.
@balzss
Copy link
Owner

balzss commented Apr 23, 2019

Hi, thanks for the contribution! I will try to find some time to go over your code as soon as I can. I like the idea of a plain text mode.

Regarding the wrapping problem: I like the "configurable width" solution because it would be useful even for normal use. Or that could be combined with the automatic formatting so if the user defines a width then it formats the text to fit that width. What do you think about this?

@qwhex
Copy link
Collaborator

qwhex commented Aug 7, 2019

@gwn @balzss I think the "configurable width" feature should be done as a separate project, although this pull request is incomplete without automatic word-wrapping.

@gmcz
Copy link

gmcz commented Oct 18, 2023

I think it'd be great if the plain text mode could support shuffling paragraphs. For example:

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.

Would randomly select one of the three paragraphs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants