aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Commands.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/Commands.cs')
-rw-r--r--ShiftOS.WinForms/Commands.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Commands.cs b/ShiftOS.WinForms/Commands.cs
index 23b8f19..c9e9376 100644
--- a/ShiftOS.WinForms/Commands.cs
+++ b/ShiftOS.WinForms/Commands.cs
@@ -49,7 +49,10 @@ namespace ShiftOS.Engine
[Command("clear", description = "{DESC_CLEAR}")]
public static bool Clear()
{
- AppearanceManager.ConsoleOut.Clear();
+ Desktop.InvokeOnWorkerThread(() =>
+ {
+ AppearanceManager.ConsoleOut.Clear();
+ });
return true;
}
}
@@ -157,7 +160,7 @@ namespace ShiftOS.Engine
//print all unique namespaces.
foreach (var n in TerminalBackend.Commands.Where(x => !(x is TerminalBackend.WinOpenCommand) && Shiftorium.UpgradeInstalled(x.Dependencies) && x.CommandInfo.hide == false).OrderBy(x => x.CommandInfo.name))
{
- sb.Append(n.CommandInfo.name);
+ sb.Append(" - " + n.CommandInfo.name);
if (!string.IsNullOrWhiteSpace(n.CommandInfo.description))
if (Shiftorium.UpgradeInstalled("help_description"))
sb.Append(" - " + n.CommandInfo.description);