aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Commands.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-24 14:41:45 -0400
committerMichael <[email protected]>2017-06-24 14:41:45 -0400
commit8621b3ddffdd8211604f01d90ff40c9b2991f27a (patch)
tree925fc7ed52ba29189f6a4f76f939ea97ca7539f0 /ShiftOS.WinForms/Commands.cs
parent1661f9a5bd46dbd7d2586787c55bfc407c027629 (diff)
downloadshiftos_thereturn-8621b3ddffdd8211604f01d90ff40c9b2991f27a.tar.gz
shiftos_thereturn-8621b3ddffdd8211604f01d90ff40c9b2991f27a.tar.bz2
shiftos_thereturn-8621b3ddffdd8211604f01d90ff40c9b2991f27a.zip
breaking the bonds storyline
Diffstat (limited to 'ShiftOS.WinForms/Commands.cs')
-rw-r--r--ShiftOS.WinForms/Commands.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Commands.cs b/ShiftOS.WinForms/Commands.cs
index c7d8f5b..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;
}
}