mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
termio: don't leak VTE_VERSION into child processes
This variable is used by gnome-terminal and other VTE-based terminals. We don't want our child processes to think we're running under VTE.
This commit is contained in:
@ -857,6 +857,8 @@ const Subprocess = struct {
|
||||
}
|
||||
|
||||
// Don't leak these environment variables to child processes.
|
||||
env.remove("VTE_VERSION");
|
||||
|
||||
if (comptime build_config.app_runtime == .gtk) {
|
||||
env.remove("GDK_DEBUG");
|
||||
env.remove("GDK_DISABLE");
|
||||
|
Reference in New Issue
Block a user