Skip to content

Replace stale progress bars after Ctrl+C - #324

Merged
code-inflation merged 2 commits into
masterfrom
fix/ctrl-c-progress-row
Dec 1, 2026
Merged

code-inflation merged 2 commits into
masterfrom
fix/ctrl-c-progress-row

Conversation

@code-inflation

@code-inflation code-inflation commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Pressing Ctrl+C during a speed test can leave the progress bar on screen above the partial result for the same download or upload. The partial result now replaces the progress bar, and the CLI still prints Run stopped: Cancelled and exits with code 130. Redirected output, CSV, and JSON are unchanged.

Terminal preview

Both recordings use the same local test setup. Ctrl+C is pressed while the 10 MB progress bar shows 3/10. The sample already in flight completes, so the partial result shows 4/10 in both recordings.

Before: the progress bar stays on screen

Before the fix, the 3/10 progress bar stays above the 4/10 partial result after Ctrl+C.

After: the partial result replaces the progress bar

Terminal recording showing the 10 MB progress bar replaced by one partial result after Ctrl+C.

@code-inflation
code-inflation marked this pull request as ready for review December 1, 2026 22:01
Compare the published vt100, vte, and arrayvec package sources with their upstream tags and verify the archives against Cargo.lock. Keep vt100 test-only, pin its exact version, and adapt the terminal regression to the nonzero-dimensions API.
@code-inflation
code-inflation merged commit 4dd9ce7 into master Dec 1, 2026
6 checks passed
@code-inflation
code-inflation deleted the fix/ctrl-c-progress-row branch December 1, 2026 22:48
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.

1 participant