lemnos / tt

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

Feature Request: Support Multiline #42

Open nnzv opened 1 year ago

nnzv commented 1 year ago

Description

I suggest adding the ability to handle multiple lines of text as input in "tt." Currently, only individual words and sentences are accepted for typing practice.

Benefits

This enhancement will allow users to practice typing larger blocks of text, such as code snippets, paragraphs, or multiline quotes, making "tt" more versatile and useful for various users.

Implementation

The program should accept multiline input from command-line arguments, files, and STDIN, considering each paragraph as a distinct segment in the typing test.

Example

Poem Title: Dreams

Hold fast to dreams
For if dreams die
Life is a broken-winged bird
That cannot fly.

Hold fast to dreams
For when dreams go
Life is a barren field
Frozen with snow.