Skip to content

Add --auto-next flag to skip the post-success prompt in watch mode#2417

Closed
electron224 wants to merge 1 commit into
rust-lang:mainfrom
electron224:fix-manually-going-to-next
Closed

Add --auto-next flag to skip the post-success prompt in watch mode#2417
electron224 wants to merge 1 commit into
rust-lang:mainfrom
electron224:fix-manually-going-to-next

Conversation

@electron224

Copy link
Copy Markdown

After passing an exercise, the watch loop currently waits for n before advancing. Add an opt-in --auto-next flag that renders the "Exercise done" screen for ~1.5s, then auto-advances to the next pending exercise and runs it. Auto-advance only fires on success a failing exercise still stops at the prompt.

The n:next key is hidden from the prompt when --auto-next is on, but the user can still press n to skip ahead manually.
--auto-next is compatible with --manual-run: pressing r triggers a check and on success the loop auto-advances the same way.

After passing an exercise, the watch loop currently waits for `n`
before advancing. Add an opt-in `--auto-next` flag that renders the
"Exercise done" screen for ~1.5s, then auto-advances to the next
pending exercise and runs it. Auto-advance only fires on success; a
failing exercise still stops at the prompt.

The `n:next` key is hidden from the prompt when --auto-next is on,
but the user can still press `n` to skip ahead manually. --auto-next
is compatible with --manual-run: pressing `r` triggers a check, and
on success the loop auto-advances the same way.
@senekor

senekor commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

closing for the same reason as #2411

@senekor senekor closed this Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants