aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Controls/TerminalBox.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-24 16:41:49 -0400
committerMichael <[email protected]>2017-05-24 16:41:49 -0400
commit8e345174ee0796084c542681208c57fa8f962f61 (patch)
tree81966b6a2e49994d6b1e1a23a86b2916c3fe832e /ShiftOS.WinForms/Controls/TerminalBox.cs
parent9764bfd2aa55835246ebd2328bcdd436950f733e (diff)
downloadshiftos_thereturn-8e345174ee0796084c542681208c57fa8f962f61.tar.gz
shiftos_thereturn-8e345174ee0796084c542681208c57fa8f962f61.tar.bz2
shiftos_thereturn-8e345174ee0796084c542681208c57fa8f962f61.zip
Dramatically increase terminal performance.
Diffstat (limited to 'ShiftOS.WinForms/Controls/TerminalBox.cs')
-rw-r--r--ShiftOS.WinForms/Controls/TerminalBox.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Controls/TerminalBox.cs b/ShiftOS.WinForms/Controls/TerminalBox.cs
index e95d038..a6dd610 100644
--- a/ShiftOS.WinForms/Controls/TerminalBox.cs
+++ b/ShiftOS.WinForms/Controls/TerminalBox.cs
@@ -63,6 +63,7 @@ namespace ShiftOS.WinForms.Controls
public void Write(string text)
{
+ Thread.Sleep(5);
this.SuspendLayout();
this.HideSelection = true;
this.SelectionFont = ConstructFont();
@@ -88,6 +89,7 @@ namespace ShiftOS.WinForms.Controls
public void WriteLine(string text)
{
+ Thread.Sleep(5);
this.SuspendLayout();
Engine.AudioManager.PlayStream(Properties.Resources.writesound);
this.HideSelection = true;