-
-
Notifications
You must be signed in to change notification settings - Fork 35
Comparing changes
Open a pull request
base repository: Samyak2/toipe
base: v0.3.1
head repository: Samyak2/toipe
compare: v0.4.0
- 19 commits
- 19 files changed
- 2 contributors
Commits on Apr 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5de5d53 - Browse repository at this point
Copy the full SHA 5de5d53View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfba937 - Browse repository at this point
Copy the full SHA cfba937View commit details
Commits on Apr 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 84e819f - Browse repository at this point
Copy the full SHA 84e819fView commit details -
doc(readme): add a note about windows support
Also moved these notes to a different section at the bottom. See #14 for details.
Configuration menu - View commit details
-
Copy full SHA for d06e104 - Browse repository at this point
Copy the full SHA d06e104View commit details -
Configuration menu - View commit details
-
Copy full SHA for d59910a - Browse repository at this point
Copy the full SHA d59910aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 681ef8e - Browse repository at this point
Copy the full SHA 681ef8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43e3d7c - Browse repository at this point
Copy the full SHA 43e3d7cView commit details
Commits on Apr 5, 2022
-
Merge pull request #10 from Property404/Property404/clippyfix
Appease clippy and add to CI
Configuration menu - View commit details
-
Copy full SHA for 01ba676 - Browse repository at this point
Copy the full SHA 01ba676View commit details -
feat: some more shortcuts and fix ctrl-c behaviour
Added a new enum `TestStatus` that lives inside `Toipe::test`: - stores the status of the test - whether to continue, restart, exit or show results - after a key press - has helper methods to know when to continue, show results and when to restart - used this as the result type of process_key instead of a boolean (would have been a bunch of bools without this) - used this to determine whether to show results, to restart or to look for more key presses Added 2 more shortcuts: - ctrl-r to restart test (refreshes the words too) - fixes #16 - ctrl-w to delete the last word - fixes #18 ctrl-c now exits directly instead of showing the results screen. This fixes #15.
Configuration menu - View commit details
-
Copy full SHA for 9e6a8fb - Browse repository at this point
Copy the full SHA 9e6a8fbView commit details -
feat: document keyboard shortcuts
Display keyboard shortcuts at the bottom of the typing test screen. Also moved shortcuts to the bottom on the results screen. - Added a helper function `display_lines_bottom` for displaying stuff at the bottom of the screen (currently used only to display shortcuts). - only two shortcuts are displayed here. Documented all keyboard shortcuts in the about section of the CLI help page. Also added a section for this in the README. Also modified Cargo.toml's description - removed "tux"
Configuration menu - View commit details
-
Copy full SHA for 419fa31 - Browse repository at this point
Copy the full SHA 419fa31View commit details
Commits on Apr 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7c81974 - Browse repository at this point
Copy the full SHA 7c81974View commit details -
fixes #21 see issue for the reasoning, etc. number of correctly typed chars and number of uncorrected errors is calculated after the typing has completed. ToipeResults: - changed field names - documented fields - added final_chars_typed_correctly and final_uncorrected_errors fields - CPM is not available anymore - WPM is calculated using a fixed 5 chars per word instead of calculating it on the fly - uncorrected errors are penalized - value is clamped to 0.0 to prevent negative WPM - `num_correct_chars()` did not make sense to keep as a function since it's only used in accuracy - note: accuracy calculation has not changed
Configuration menu 8000- View commit details
-
Copy full SHA for c4dcaa1 - Browse repository at this point
Copy the full SHA c4dcaa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3449bca - Browse repository at this point
Copy the full SHA 3449bcaView commit details
Commits on Apr 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ac21990 - Browse repository at this point
Copy the full SHA ac21990View commit details -
feat: add larger word lists - 500 to 5000
towards #17 also modified existing top250 list to remove non-alphabetic words (added an extra word in place of the one removed) word lists added: - top500 - top1000 - top2500 - top5000 all of them are from the same source as the initial top250 list
Configuration menu - View commit details
-
Copy full SHA for 7c049c5 - Browse repository at this point
Copy the full SHA 7c049c5View commit details -
chore: add scripts to check and sort word lists
also added the script as a step in work flow only for english for now
Configuration menu - View commit details
-
Copy full SHA for bf7f9ae - Browse repository at this point
Copy the full SHA bf7f9aeView commit details -
feat: use enum for word list config, embed newly added word lists
don't be stringly typed! suggestion from reddit: https://www.reddit.com/r/rust/comments/tvamfz/comment/i3gf3sy/ the possible values of a word list now live in an `BuiltInWordlist` enum. used `clap::ArgEnum` to use this in CLI - auto-generates list of possible values too! but because of this change, you can't specify a custom word list using the same flag. you will need to use `-f` or `--file` option instead. when provided, this option will override any value of `-w`. - added a method `text_name` to get the name of text used for the test display text name/word list name/file path on the results screen at the top.
Configuration menu - View commit details
-
Copy full SHA for 18d4cfa - Browse repository at this point
Copy the full SHA 18d4cfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e0bfc - Browse repository at this point
Copy the full SHA 97e0bfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f75a8 - Browse repository at this point
Copy the full SHA 41f75a8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.3.1...v0.4.0