Git commit 2671800b084cf89f1a91c6b3fdf93eb3b8078672 by Kurt Hindenburg. Committed on 24/11/2016 at 16:29. Pushed by hindenburg into branch 'master'. set default TERM=3Dxterm-256color Change TERM=3Dxterm to xterm-256color CCBUG: 371919 BUG: 212145 M +1 -1 src/Profile.cpp M +1 -1 src/Pty.cpp https://commits.kde.org/konsole/2671800b084cf89f1a91c6b3fdf93eb3b8078672 diff --git a/src/Profile.cpp b/src/Profile.cpp index 7cdc73c..61b9e34 100644 --- a/src/Profile.cpp +++ b/src/Profile.cpp @@ -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=3Dxterm= ") << QStringLiteral("COLORTERM=3Dtruecolor")); + setProperty(Environment, QStringList() << QStringLiteral("TERM=3Dxterm= -256color") << QStringLiteral("COLORTERM=3Dtruecolor")); setProperty(LocalTabTitleFormat, "%d : %n"); setProperty(RemoteTabTitleFormat, "(%u) %H"); setProperty(ShowTerminalSizeHint, true); diff --git a/src/Pty.cpp b/src/Pty.cpp index f76edfb..ffd01cd 100644 --- a/src/Pty.cpp +++ b/src/Pty.cpp @@ -218,7 +218,7 @@ void Pty::addEnvironmentVariables(const QStringList& en= vironmentVariables) = // extra safeguard to make sure $TERM is always set if (!isTermEnvAdded) { - setEnv("TERM", "xterm"); + setEnv("TERM", "xterm-256color"); } } =20