Commit d5cac9d2 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

set default TERM=xterm-256color

Change TERM=xterm to xterm-256color

CCBUG: 371919
BUG: 212145
(cherry picked from commit 2671800b)
parent cbc20416
......@@ -158,7 +158,7 @@ FallbackProfile::FallbackProfile()
// See Pty.cpp on why Arguments is populated
setProperty(Arguments, QStringList() << qgetenv("SHELL"));
setProperty(Icon, "utilities-terminal");
setProperty(Environment, QStringList() << QStringLiteral("TERM=xterm") << QStringLiteral("COLORTERM=truecolor"));
setProperty(Environment, QStringList() << QStringLiteral("TERM=xterm-256color") << QStringLiteral("COLORTERM=truecolor"));
setProperty(LocalTabTitleFormat, "%d : %n");
setProperty(RemoteTabTitleFormat, "(%u) %H");
setProperty(ShowTerminalSizeHint, true);
......
......@@ -218,7 +218,7 @@ void Pty::addEnvironmentVariables(const QStringList& environmentVariables)
// extra safeguard to make sure $TERM is always set
if (!isTermEnvAdded) {
setEnv("TERM", "xterm");
setEnv("TERM", "xterm-256color");
}
}
......
Supports Markdown
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