konsole/konsole-16.12.1-xterm.patch

25 lines
1.2 KiB
Diff
Raw Permalink Normal View History

diff -Nru konsole-16.12.1.orig/src/Profile.cpp konsole-16.12.1/src/Profile.cpp
--- konsole-16.12.1.orig/src/Profile.cpp 2017-01-07 19:47:24.000000000 +0100
+++ konsole-16.12.1/src/Profile.cpp 2017-02-06 13:05:00.084021493 +0100
@@ -158,7 +158,7 @@
// See Pty.cpp on why Arguments is populated
setProperty(Arguments, QStringList() << qgetenv("SHELL"));
setProperty(Icon, "utilities-terminal");
- setProperty(Environment, QStringList() << QStringLiteral("TERM=xterm-256color") << QStringLiteral("COLORTERM=truecolor"));
+ setProperty(Environment, QStringList() << QStringLiteral("TERM=xterm") << QStringLiteral("COLORTERM=truecolor"));
setProperty(LocalTabTitleFormat, "%d : %n");
setProperty(RemoteTabTitleFormat, "(%u) %H");
setProperty(ShowTerminalSizeHint, true);
diff -Nru konsole-16.12.1.orig/src/Pty.cpp konsole-16.12.1/src/Pty.cpp
--- konsole-16.12.1.orig/src/Pty.cpp 2017-01-07 19:47:24.000000000 +0100
+++ konsole-16.12.1/src/Pty.cpp 2017-02-06 13:05:13.003081726 +0100
@@ -218,7 +218,7 @@
// extra safeguard to make sure $TERM is always set
if (!isTermEnvAdded) {
- setEnv("TERM", "xterm-256color");
+ setEnv("TERM", "xterm");
}
}