mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-02-21 20:39:00 +00:00
Fix #41: TERM env variable is now set by the plugin.
This commit is contained in:
parent
623dc9e76b
commit
61b733ba78
@ -74,6 +74,8 @@ Session *KSession::createSession(QString name)
|
|||||||
QString shellProg = envshell != NULL ? envshell : "/bin/bash";
|
QString shellProg = envshell != NULL ? envshell : "/bin/bash";
|
||||||
session->setProgram(shellProg);
|
session->setProgram(shellProg);
|
||||||
|
|
||||||
|
setenv("TERM", "xterm", 1);
|
||||||
|
|
||||||
//session->setProgram();
|
//session->setProgram();
|
||||||
|
|
||||||
QStringList args("");
|
QStringList args("");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user