mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-13 05:33:51 -04:00
slave: set $COLORTERM environment variable to "truecolor"
This is also done by libvte, alacritty, kitty and several other terminal emulators as a way to indicate support for 24-bit RGB colors. It generally also implies support for the xterm 256-color palette and basic ECMA-48 colors.
This commit is contained in:
parent
75dc06f303
commit
26fccae03d
2 changed files with 3 additions and 0 deletions
1
slave.c
1
slave.c
|
|
@ -287,6 +287,7 @@ slave_spawn(int ptmx, int argc, const char *cwd, char *const *argv,
|
|||
}
|
||||
|
||||
setenv("TERM", term_env, 1);
|
||||
setenv("COLORTERM", "truecolor", 1);
|
||||
|
||||
char **_shell_argv = NULL;
|
||||
char **shell_argv = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue