Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

terminal: Set TERM to xterm-256color (#22777)

Thorsten Balld2e44ab87dd1
diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rs
index f882a31171b..4ab36ae1021 100644
--- a/crates/terminal/src/terminal.rs
+++ b/crates/terminal/src/terminal.rs
@@ -347,7 +347,7 @@ impl TerminalBuilder {
env.insert("ZED_TERM".to_string(), "true".to_string());
env.insert("TERM_PROGRAM".to_string(), "zed".to_string());
- env.insert("TERM".to_string(), "alacritty".to_string());
+ env.insert("TERM".to_string(), "xterm-256color".to_string());
env.insert(
"TERM_PROGRAM_VERSION".to_string(),
release_channel::AppVersion::global(cx).to_string(),