From 8621b3ddffdd8211604f01d90ff40c9b2991f27a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 24 Jun 2017 14:41:45 -0400 Subject: breaking the bonds storyline --- ShiftOS.WinForms/Commands.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ShiftOS.WinForms/Commands.cs') 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; } } -- cgit v1.2.3