Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
terminal: Clear output after venv is activated (#22256)
Piotr Osiewicz8e8107009168
diff --git a/crates/project/src/terminals.rs b/crates/project/src/terminals.rsindex 779bc2c4a04..16917baac49 100644--- a/crates/project/src/terminals.rs+++ b/crates/project/src/terminals.rs@@ -433,7 +433,10 @@ impl Project {"windows" => "\r",_ => "\n",};- Some(format!("{} {}{}", activate_keyword, quoted, line_ending))+ Some(format!(+ "{} {} ; clear{}",+ activate_keyword, quoted, line_ending+ ))}fn activate_python_virtual_environment(@@ -450,7 +453,7 @@ impl Project {}}-pub fn wrap_for_ssh(+fn wrap_for_ssh(ssh_command: &SshCommand,command: Option<(&String, &Vec<String>)>,path: Option<&Path>,