v6.4.0
labring/FastGPTv6.4.0Nov 11, 2024by mo8it
AI Summary
Adds searchable exercise functionality, manual check-all options, reset file options, and progress animations. Also improves terminal contrast and removes confusing exercises.
Key Highlights
- Searchable exercise list (press 's' or '/')
- Manual check-all option and command
- Reset file option for exercises
- Fixed terminal contrast on light themes
New Features
- Search functionality for exercises
- Check-all command
- Exercise reset option
- Progress animations
Full Release Notes
### Added - The list of exercises is now searchable by pressing `s` or `/` ποΈ (thanks to [@frroossst](https://github.com/frroossst)) - New option `c` in the prompt to manually check all exercises β (thanks to [@Nahor](https://github.com/Nahor)) - New command `check-all` to manually check all exercises β (thanks to [@Nahor](https://github.com/Nahor)) - Addictive animation for showing the progress of checking all exercises. A nice showcase of parallelism in Rust β¨ - New option `x` in the prompt to reset the file of the current exercise π - Allow `dead_code` for all exercises and solutions β°οΈ (thanks to [@huss4in](https://github.com/huss4in)) - Pause input while running an exercise to avoid unexpected prompt interactions βΈοΈ - Limit the maximum number of exercises to 999. Any third-party exercises willing to reach that limit? π ### Changed - `enums3`: Remove redundant enum definition task (thanks to [@senekor](https://github.com/senekor)) - `if2`: Make the exercise less confusing by avoiding "fizz", "fuzz", "foo", "bar" and "baz" (thanks to [@senekor](https://github.com/senekor)) - `hashmap3`: Use the method `Entry::or_default`. - Update the state of all exercises when checking all of them (thanks to [@Nahor](https://github.com/Nahor)) - The main prompt doesn't need a confirmation with ENTER on Unix-like systems anymore. - No more jumping back to a previous exercise when its file is changed. Use the list to jump between exercises. - Dump the solution file after an exercise is done even if the solution's directory doesn't exist. - Rework the footer in the list. - Optimize the file watcher. ### Fixed - Fix bad contrast in the list on terminals with a light theme. 