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
Summary
Keep `shdeps update` sudo prompts visible while progress is active.
Terminal progress now moves to a fresh line instead of clearing live
rows before sudo, and JSONL progress writes the pre-prompt newline
directly to `/dev/tty` so FIFO consumers like `dot update` cannot race
and erase or hide the sudo prompt.
Testing
- `cargo fmt --all -- --check`
- `cargo test --locked jsonl_progress_emits_prompt_pause_event`
- `cargo test --locked
update_pauses_progress_before_sudo_package_commands`
- `cargo test --locked`
- `checkrun format --path src/cli.rs --path src/update.rs --path
src/update_pkg.rs`
- `checkrun lint --path src/cli.rs --path src/update.rs --path
src/update_pkg.rs`
- E2E in tmux with patched shdeps via
`SHDEPS_RUST_CLI=/home/chris/git/shdeps/target/debug/shdeps dot update`:
cold sudo prompt stayed visible on its own line and completed with
`DOT_COLD_TTY_RC=0`; warm run completed with `DOT_WARM_TTY_RC=0` and no
prompt display issue.
0 commit comments