Comments (2)
I know that Esc "restarts the test" but in the case of random words, it generates a totally new set of words than what you were previously typing
I think the default behaviour makes more sense and am not convinced this is useful enough to warrant a dedicated flag. For your own purposes you can achieve the desired result by generating the text yourself and relying on the default behaviour of custom text. E.G shuf -n50 /usr/share/dict/words|tt
.
and in the case of fed-in text, it puts you back at the very first paragraph, regardless of what paragraph you were on when you pressed Esc.
I am considering implementing something like this, however I'm not sure how it should work. The current behaviour is to treat everything that gets piped in as a single test consisting of multiple paragraphs (which is why WPM is reported at the end). If the behaviour of escape was to change how would you modify the WPM?
In this regard, I like wpm's navigation: space and arrows to move through (sub-)tests and esc to restart.
I am not familiar with it, but this sounds like it might be an interesting idea.
Edit:
Upon reflection I've realized what you propose is better default behaviour and implemented it. I have also added -multi
which causes the program to treat each paragraph of the input as a separate test. It is worth noting that tt
is flexible enough that it is possible to implement -multi
externally
E.G
fmt -w 1000 < input.txt|awk '!/^ *$/'|while read p; do echo $p|tt -oneshot || break; done
however it is decidedly common enough to justify the inclusion of a dedicated flag.
Please feel free to close the issue if this addresses your use case or else leave further comment :).
from tt.
Closing due to inactivity.
from tt.
Related Issues (20)
- some of the quotes have missing symbols (�) that can't be displayed. Ubuntu 22.04, tt v0.4.2 HOT 1
- hey
- Add a quotes option based on the monkeytype quotes list
- request a new release HOT 2
- [Feature Request] Add Options to change the font size HOT 2
- Add `md` with theme preview
- Auto Scroll support
- Support disabling red color when typing wrong characters; and only show those wrong characters at the end of the test.
- "ERROR: failed to read /Users/username/en" on macOSX arm64 HOT 2
- 1000en does not appear to be a valid word list
- [Feature Request] Show word count and the duration of the test in the report. HOT 2
- Functional: Docker install HOT 5
- Feature Request: Support Multiline
- pip install failing on Windows HOT 1
- option-backspace or control-backspace does not work on macos
- HOME environment variable should be USERPROFILE Windows HOT 2
- Add sound effect
- [Feature Request] Disable Randomness
- [Bug]: Doesn't strip newlines from typos list
- Endless wordlists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tt.