diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2023-03-20 14:40:36 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2023-03-20 14:40:36 +0000 |
| commit | 5b2f02d826d8043b6b89860c56802ea5fed0f3bd (patch) | |
| tree | a08db5e0a927767e975a9da3f37bab095f0f3d32 /input.c | |
| parent | config: apply fontconfig rules if user didn’t set an explicit font size (diff) | |
slave: set $TERM_PROGRAM and $TERM_PROGRAM_VERSION environment variables
These are already being set by iTerm2, WezTerm, tmux and likely some
others. Even though using yet more environment variables seems rather
questionable, if we don't set these we run the risk of inheriting them
from other terminals.
See also:
* https://gitlab.com/gnachman/iterm2/-/blob/97a6078df8e822da165e91737a01c0b9e115dd16/sources/PTYSession.m#L2568-2570
* https://github.com/tmux/tmux/blob/1d0f68dee9f71c504e03616fa472a408a6caa49b/environ.c#L263-L264
* https://github.com/search?q=TERM_PROGRAM&type=code
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions
