From 3d22591f46a18ee3f585f169b34ccb5a0457e39f Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 29 Jul 2017 13:49:37 -0400 Subject: debug shell and clear metacmd --- ShiftOS.Frontend/Commands.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ShiftOS.Frontend/Commands.cs') diff --git a/ShiftOS.Frontend/Commands.cs b/ShiftOS.Frontend/Commands.cs index 61f7ed2..da1d1c1 100644 --- a/ShiftOS.Frontend/Commands.cs +++ b/ShiftOS.Frontend/Commands.cs @@ -47,6 +47,7 @@ namespace ShiftOS.Frontend [TutorialLock] public static class TerminalCommands { + [MetaCommand] [Command("clear", description = "{DESC_CLEAR}")] public static bool Clear() { @@ -60,8 +61,15 @@ namespace ShiftOS.Frontend public static class ShiftOSCommands { +#if DEBUG + [Command("debug")] + public static void EnterDebug() + { + TerminalBackend.SetShellOverride("shiftos_debug> "); + } +#endif - [Command("setsfxenabled", description = "{DESC_SETSFXENABLED}")] + [Command("setsfxenabled", description = "{DESC_SETSFXENABLED}")] [RequiresArgument("id")] public static bool SetSfxEnabled(Dictionary args) { -- cgit v1.2.3