mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-02 00:13:30 +02:00
No more word input
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ fn press_enter_prompt() -> io::Result<()> {
|
||||
struct Args {
|
||||
#[command(subcommand)]
|
||||
command: Option<Subcommands>,
|
||||
/// Manually run the current exercise using `r` or `run` in the watch mode.
|
||||
/// Manually run the current exercise using `r` in the watch mode.
|
||||
/// Only use this if Rustlings fails to detect exercise file changes.
|
||||
#[arg(long)]
|
||||
manual_run: bool,
|
||||
|
||||
+1
-1
@@ -123,5 +123,5 @@ The automatic detection of exercise file changes failed :(
|
||||
Please try running `rustlings` again.
|
||||
|
||||
If you keep getting this error, run `rustlings --manual-run` to deactivate the file watcher.
|
||||
You need to manually trigger running the current exercise using `r` (or `run`) then.
|
||||
You need to manually trigger running the current exercise using `r` then.
|
||||
";
|
||||
|
||||
+1
-1
@@ -127,7 +127,7 @@ impl<'a> WatchState<'a> {
|
||||
self.writer,
|
||||
"{}\n",
|
||||
"Exercise done ✓
|
||||
When you are done experimenting, enter `n` (or `next`) to move on to the next exercise 🦀"
|
||||
When you are done experimenting, enter `n` to move on to the next exercise 🦀"
|
||||
.bold()
|
||||
.green(),
|
||||
)?;
|
||||
|
||||
Reference in New Issue
Block a user