Commit fa16cd61 authored by Christian Hergert's avatar Christian Hergert
Browse files

pipeline: set xterm-256color with PTY

If we are attaching a PTY, we should set the $TERM for the environment.
parent b6cd0397
......@@ -2529,6 +2529,9 @@ ide_build_pipeline_attach_pty (IdeBuildPipeline *self,
ide_subprocess_launcher_take_stdin_fd (launcher, dup (self->pty_slave));
ide_subprocess_launcher_take_stdout_fd (launcher, dup (self->pty_slave));
ide_subprocess_launcher_take_stderr_fd (launcher, dup (self->pty_slave));
/* Ensure a terminal type is set */
ide_subprocess_launcher_setenv (launcher, "TERM", "xterm-256color", FALSE);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment