You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3dcb53b
Browse filesBrowse the repository at this point in the historyBrowse files
* Start sweep of cli/src/ui
Assisted-by: Claude Code:claude-opus-5-5
* Inline prompt wrappers and fold the VT probes
confirm() now builds its Ask inline: the ask() and confirm_waits()
wrappers are gone, and read_answer() is folded into confirm_with().
Ask loses non_interactive_answer, which every caller set to
default_yes, and Ask, confirm_with and the note consts become
private. select_one no longer re-checks the process quiet flag: its
only caller passes the same flags ui::init saw, and --json returns
earlier.
ui/mod.rs replaces the four stdout_vt/stderr_vt fns with one vt()
pair, drops the env_var wrapper, and fixes the severity comment that
pointed at a moved get.rs fn. status.rs inlines term_is_dumb.
Tests: drop the tautological wording test, the setup-style test of
the removed field, the read_answer test that repeated the
confirm_with cases, and the duplicate nobody-waits test. The
TTY-dependent confirm_waits test becomes yes_or_json_answers_the_
default. status.rs drops a duplicate finish_with case.
Assisted-by: Claude Code:claude-opus-5-5
* Keep select_one quiet guard and env_var helper
Restores select_one's process-wide quiet check (a caller passing
derived flags would otherwise print the note under --silent), keeps
the env_var helper, and gives each platform its own vt() so the
Windows body needs no return (clippy needless_return).
Assisted-by: Claude Code:claude-opus-5-5
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments