konsole/konsole-17.08.0-xterm.patch

25 lines
1.3 KiB
Diff
Raw Permalink Normal View History

diff -Nru konsole-17.08.0.orig/src/Profile.cpp konsole-17.08.0/src/Profile.cpp
--- konsole-17.08.0.orig/src/Profile.cpp 2017-08-08 20:04:20.000000000 +0200
+++ konsole-17.08.0/src/Profile.cpp 2017-08-27 14:11:31.934303711 +0200
@@ -157,7 +157,7 @@
// See Pty.cpp on why Arguments is populated
setProperty(Arguments, QStringList() << QString::fromUtf8(qgetenv("SHELL")));
setProperty(Icon, QStringLiteral("utilities-terminal"));
- setProperty(Environment, QStringList() << QStringLiteral("TERM=xterm-256color") << QStringLiteral("COLORTERM=truecolor"));
+ setProperty(Environment, QStringList() << QStringLiteral("TERM=xterm") << QStringLiteral("COLORTERM=truecolor"));
setProperty(LocalTabTitleFormat, QStringLiteral("%d : %n"));
setProperty(RemoteTabTitleFormat, QStringLiteral("(%u) %H"));
setProperty(ShowTerminalSizeHint, true);
diff -Nru konsole-17.08.0.orig/src/Pty.cpp konsole-17.08.0/src/Pty.cpp
--- konsole-17.08.0.orig/src/Pty.cpp 2017-08-08 20:04:20.000000000 +0200
+++ konsole-17.08.0/src/Pty.cpp 2017-08-27 14:11:43.852366575 +0200
@@ -229,7 +229,7 @@
// extra safeguard to make sure $TERM is always set
if (!isTermEnvAdded) {
- setEnv(QStringLiteral("TERM"), QStringLiteral("xterm-256color"));
+ setEnv(QStringLiteral("TERM"), QStringLiteral("xterm"));
}
}