Skip to content

Commit

Permalink
set COLORTERM=truecolor in the environment
Browse files Browse the repository at this point in the history
closes: #875
  • Loading branch information
wez committed Jun 16, 2021
1 parent 35b2676 commit f752d0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1695,6 +1695,7 @@ impl Config {
#[cfg(unix)]
cmd.umask(umask::UmaskSaver::saved_umask());
cmd.env("TERM", &self.term);
cmd.env("COLORTERM", "truecolor");
// TERM_PROGRAM and TERM_PROGRAM_VERSION are an emerging
// de-facto standard for identifying the terminal.
cmd.env("TERM_PROGRAM", "WezTerm");
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ As features stabilize some brief notes about them will accumulate here.
* Improved: [skip_close_confirmation_for_processes_named](config/lua/config/skip_close_confirmation_for_processes_named.md) now includes common windows shell processes `cmd.exe`, `pwsh.exe` and `powershell.exe`. [#843](https://github.com/wez/wezterm/issues/843)
* Fixed: don't keep the window alive after running `something & disown ; exit` [#839](https://github.com/wez/wezterm/issues/839)
* Improved: we now draw sextant glyphs from the Unicode Symbols for Legacy Computing block (1FB00) when `custom_block_glyphs` is enabled.
* Changed: `COLORTERM=truecolor` is now set in the environment. [#875](https://github.com/wez/wezterm/issues/875)

### 20210502-154244-3f7122cb

Expand Down

0 comments on commit f752d0e

Please sign in to comment.