mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 12:15:27 +00: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());
|
||||
QStringList arguments;
|
||||
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())
|
||||
arguments << _arguments;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user