From 5eb66b051a02236d4293fe73a361ba0e5a4b8577 Mon Sep 17 00:00:00 2001 From: gambas Date: Mon, 18 Apr 2022 19:46:30 +0200 Subject: [PATCH] Debugger: Fix 'xfce4-terminal' and 'mate-terminal' support. [DEVELOPMENT ENVIRONMENT] * BUG: Debugger: Fix 'xfce4-terminal' and 'mate-terminal' support. --- app/src/gambas3/.src/Debug/Design.module | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/gambas3/.src/Debug/Design.module b/app/src/gambas3/.src/Debug/Design.module index c07cf4109..ffdf273b5 100644 --- a/app/src/gambas3/.src/Debug/Design.module +++ b/app/src/gambas3/.src/Debug/Design.module @@ -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)