Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Add terminal capability fallback for progress UI#21

Merged
F0RLE merged 2 commits into
nightlyfrom
F0RLE/feature/terminal-capability-fallback
Mar 17, 2026
Merged

Add terminal capability fallback for progress UI#21
F0RLE merged 2 commits into
nightlyfrom
F0RLE/feature/terminal-capability-fallback

Conversation

@F0RLE
Copy link
Copy Markdown
Owner

@F0RLE F0RLE commented Mar 17, 2026

Summary

This PR adds a plain-text fallback for the live progress UI when stderr is not a terminal or ANSI / VT sequences are not supported.

What changed

  • detect whether stderr supports terminal ANSI output
  • keep the existing two-line ANSI UI when supported
  • fall back to a plain-text single-line progress output when ANSI is unavailable
  • update roadmap status for cross-platform runtime hardening

Why

The progress renderer was writing raw ANSI escape sequences directly, which could render badly on older Windows terminals or redirected stderr. This keeps the fast UI where it works and makes fallback behavior predictable where it does not.

Validation

  • cargo fmt
  • cargo check
  • cargo test

@F0RLE F0RLE merged commit 0cafe0b into nightly Mar 17, 2026
@F0RLE F0RLE deleted the F0RLE/feature/terminal-capability-fallback branch March 17, 2026 17:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant