mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-23 18:32:17 +00:00
terminal: Set TERM to xterm-256color (#22777)
This is a follow-up to #22615 and fixes the issue of `alacritty` resulting in broken shell/CLI apps if `alacritty` is not in the terminfo database. Closes #ISSUE Release Notes: - Set `TERM` to `xterm-256color` in Zed's built-in terminal
This commit is contained in:
parent
56017022c4
commit
d2e44ab87d
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue