Skip to content

Commit ac35377

Browse files
committed
Fix rendering of uv venv --clear hint in bash (#14691)
Closes #14688
1 parent 5b716c4 commit ac35377

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/uv-console/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ fn confirm_inner(
8484

8585
if hint.is_some() {
8686
term.clear_last_lines(2)?;
87+
// It's not clear why we need to clear to the end of the screen here, but it fixes lingering
88+
// display of the hint on `bash` (the issue did not reproduce on `zsh`).
89+
term.clear_to_end_of_screen()?;
8790
} else {
8891
term.clear_line()?;
8992
}

0 commit comments

Comments
 (0)