From 75850a42f353433fdab20558ff23cfe8c7a8f428 Mon Sep 17 00:00:00 2001 From: DELEPaps <66817801+DELEPaps@users.noreply.github.com> Date: Thu, 13 Jan 2022 13:39:07 +0700 Subject: [PATCH] xterm 256 color I think this is necessary, so that the terminal has rich colors and is not old-fashioned --- qmltermwidget/src/ksession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmltermwidget/src/ksession.cpp b/qmltermwidget/src/ksession.cpp index b711aae..0fff43f 100644 --- a/qmltermwidget/src/ksession.cpp +++ b/qmltermwidget/src/ksession.cpp @@ -74,7 +74,7 @@ Session *KSession::createSession(QString name) QString shellProg = envshell != NULL ? envshell : "/bin/bash"; session->setProgram(shellProg); - setenv("TERM", "xterm", 1); + setenv("TERM", "xterm-256color", 1); //session->setProgram();