mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-04-16 07:40:50 +01:00
Add missing arguments when -i and -l when starting under OSX. Thanks to sirgatez.
This commit is contained in:
parent
093cead312
commit
539a5ed74f
@ -307,6 +307,13 @@ void Session::run()
|
|||||||
QString argsTmp(_arguments.join(" ").trimmed());
|
QString argsTmp(_arguments.join(" ").trimmed());
|
||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
arguments << exec;
|
arguments << exec;
|
||||||
|
|
||||||
|
#ifdef Q_OS_OSX
|
||||||
|
// Fix osx initial behavior with -i (interactive) and -l (login).
|
||||||
|
arguments.append("-i");
|
||||||
|
arguments.append("-l");
|
||||||
|
#endif
|
||||||
|
|
||||||
if (argsTmp.length())
|
if (argsTmp.length())
|
||||||
arguments << _arguments;
|
arguments << _arguments;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user