mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
Add comment explaining the purpose of the env variables
This commit is contained in:
@ -612,6 +612,8 @@ const Subprocess = struct {
|
|||||||
try env.put("COLORTERM", "truecolor");
|
try env.put("COLORTERM", "truecolor");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set environment variables used by some programs (such as neovim) to detect
|
||||||
|
// which terminal emulator and version they're running under.
|
||||||
try env.put("TERM_PROGRAM", "ghostty");
|
try env.put("TERM_PROGRAM", "ghostty");
|
||||||
try env.put("TERM_PROGRAM_VERSION", build_config.version_string);
|
try env.put("TERM_PROGRAM_VERSION", build_config.version_string);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user