aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ShiftOS.WinForms/Oobe.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Oobe.cs b/ShiftOS.WinForms/Oobe.cs
index 2b5ac7d..bcb2ef9 100644
--- a/ShiftOS.WinForms/Oobe.cs
+++ b/ShiftOS.WinForms/Oobe.cs
@@ -63,16 +63,24 @@ namespace ShiftOS.WinForms
int hackeffect;
int percentcount;
+ private bool typing = false;
public void TextType(string texttotype)
{
+ while(typing == true)
+ {
+
+ }
+
charcount = texttotype.Length;
gtexttotype = texttotype;
currentletter = 0;
slashcount = 1;
foreach (var c in gtexttotype)
{
+ typing = true;
rtext += c;
+
this.Invoke(new Action(() =>
{
textgeninput.Text = rtext + "|";
@@ -82,6 +90,7 @@ namespace ShiftOS.WinForms
slashcount = 1;
}
rtext += Environment.NewLine;
+ typing = false;
}
public Save MySave = null;