terminal: Set TERM_PROGRAM
and TERM_PROGRAM_VERSION
environment variables in integrated terminal (#14213)
 These two environment variables are essential when people need to detect terminal type and do something. Many popular terminals set them. fixes https://github.com/zed-industries/zed/issues/4571 Release Notes: - Set `TERM_PROGRAM` and `TERM_PROGRAM_VERSION` environment variables in the integrated terminal ([#4571](https://github.com/zed-industries/zed/issues/4571)).
This commit is contained in:
parent
c195c4ddff
commit
d49727ff10
4 changed files with 10 additions and 1 deletions
|
@ -180,6 +180,7 @@ impl Project {
|
|||
settings.max_scroll_history_lines,
|
||||
window,
|
||||
completion_tx,
|
||||
cx,
|
||||
)
|
||||
.map(|builder| {
|
||||
let terminal_handle = cx.new_model(|cx| builder.subscribe(cx));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue