diff --git a/public/Nitrocid/Shell/ShellBase/Shells/ShellManager.cs b/public/Nitrocid/Shell/ShellBase/Shells/ShellManager.cs index 0890964007..69170707e9 100644 --- a/public/Nitrocid/Shell/ShellBase/Shells/ShellManager.cs +++ b/public/Nitrocid/Shell/ShellBase/Shells/ShellManager.cs @@ -662,6 +662,7 @@ public static void StartShell(string ShellType, params object[] ShellArgs) if (ShellStack.Count >= 1) { // The shell stack has a mother shell. Start another shell. + ConsoleMisc.SetTitle(KernelReleaseInfo.ConsoleTitle); StartShellInternal(ShellType, ShellArgs); } else @@ -871,8 +872,7 @@ internal static void StartShellInternal(string ShellType, params object[] ShellA if (!histories.ContainsKey(ShellType)) histories.Add(ShellType, []); - // Reset title in case we're going to another shell - ConsoleMisc.SetTitle(KernelReleaseInfo.ConsoleTitle); + // Initialize shell ShellExecute.InitializeShell(ShellArgs); } catch (Exception ex)