diff --git a/dub.json b/dub.json index 2c325a7..d84b32f 100644 --- a/dub.json +++ b/dub.json @@ -12,7 +12,7 @@ "stringImportPaths": ["views", "views/res", "views/res/i18n", "views/res/mdpi", "views/res/hdpi"], "dependencies": { - "dlangui": "==0.9.4", + "dlangui": "==0.9.5", "dcd": "~>0.8.0" }, diff --git a/src/dlangide/ui/frame.d b/src/dlangide/ui/frame.d index 1058598..381499d 100644 --- a/src/dlangide/ui/frame.d +++ b/src/dlangide/ui/frame.d @@ -266,7 +266,7 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL string tty = _logPanel.terminalDeviceName; if (project.runInExternalConsole) { version(Windows) { - if (program.isMagoDebugger && BACKEND_GUI) + if (program.isMagoDebugger) tty = "external-console"; } else { externalConsoleExecutable = _settings.terminalExecutable; diff --git a/src/dlangide/ui/outputpanel.d b/src/dlangide/ui/outputpanel.d index 5d71aad..cb3aefa 100644 --- a/src/dlangide/ui/outputpanel.d +++ b/src/dlangide/ui/outputpanel.d @@ -11,15 +11,16 @@ import std.regex; import std.algorithm : startsWith; import std.string; -static if (BACKEND_CONSOLE) { - enum ENABLE_INTERNAL_TERMINAL = true; -} else { +//static if (BACKEND_CONSOLE) { +// enum ENABLE_INTERNAL_TERMINAL = true; +//} else { version (Windows) { enum ENABLE_INTERNAL_TERMINAL = false; } else { enum ENABLE_INTERNAL_TERMINAL = true; } -} +//} + enum ENABLE_INTERNAL_TERMINAL_TEST = false; /// event listener to navigate by error/warning position