diff options
| author | Michael <[email protected]> | 2017-07-29 13:49:37 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-07-29 13:49:44 -0400 |
| commit | 3d22591f46a18ee3f585f169b34ccb5a0457e39f (patch) | |
| tree | e3644a04539f96512e19ccdc10c3377578018a96 /ShiftOS.Frontend/Commands.cs | |
| parent | f31eff4566655bc9aff2e5efe4ac24ef941020f0 (diff) | |
| download | shiftos_thereturn-3d22591f46a18ee3f585f169b34ccb5a0457e39f.tar.gz shiftos_thereturn-3d22591f46a18ee3f585f169b34ccb5a0457e39f.tar.bz2 shiftos_thereturn-3d22591f46a18ee3f585f169b34ccb5a0457e39f.zip | |
debug shell and clear metacmd
Diffstat (limited to 'ShiftOS.Frontend/Commands.cs')
| -rw-r--r-- | ShiftOS.Frontend/Commands.cs | 10 |
1 files changed, 9 insertions, 1 deletions
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<string, object> args) { |
