diff --git a/src/Startup.hx b/src/Startup.hx index 1f4d15f..da7eac8 100644 --- a/src/Startup.hx +++ b/src/Startup.hx @@ -6,6 +6,14 @@ import lib.HomeContext; class Startup { public static function main() { + #if debug + var term = BinStore.instantiate("terminal"); + var pid = ProcessManager.run(term, { + // args: ["debug"] + }); + var ctx = WindowManager.getContextByPID(pid); + WindowManager.focusContextToOutput(ctx[0], "main"); + #else if (MainTerm.instance.isColor()) { var main = new HomeContext(); @@ -16,5 +24,6 @@ class Startup { var ctx = WindowManager.getContextByPID(pid); WindowManager.focusContextToOutput(ctx[0], "main"); } + #end } }