Debugger: Fix 'xfce4-terminal' and 'mate-terminal' support.

[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Fix 'xfce4-terminal' and 'mate-terminal' support.
This commit is contained in:
gambas 2022-04-18 19:46:30 +02:00
parent 887408b1ba
commit 5eb66b051a

View file

@ -1252,11 +1252,16 @@ Private Sub Start(sCmd As String)
Case "konsole"
aExec = ["konsole", "--nofork", "--hold", "--name", Project.Name & "-output", "-e", aExec.Join(" ")]
Case "gnome-terminal", "xfce4-terminal", "mate-terminal"
Case "gnome-terminal"
aExec.Insert([sProg, "--hide-menubar", "--maximize", "--wait", "--title=" & sTitle, "--"], 0)
$aCmdStart.Add("h", 0)
$bGnomeTerminal = True
Case "xfce4-terminal", "mate-terminal"
aExec.Insert([sProg, "--hide-menubar", "--maximize", "--title=" & sTitle, "-x"], 0)
$aCmdStart.Add("h", 0)
$bGnomeTerminal = True
Case "lxterminal"
aExec.Insert(["lxterminal", "-t", sTitle, "-e"], 0)