From c81573594f509177214bbc9b64427c8aabdc30a6 Mon Sep 17 00:00:00 2001 From: AShifter Date: Sat, 25 Nov 2017 08:59:48 -0700 Subject: Add SaveSystem, FullScreen Terminal and stuff Git had a horrible seizure and removed our repo but Alex-TIMEHACK helped us get it back. --- ShiftOS.Main/Terminal/Commands/TestStory.cs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'ShiftOS.Main/Terminal/Commands/TestStory.cs') diff --git a/ShiftOS.Main/Terminal/Commands/TestStory.cs b/ShiftOS.Main/Terminal/Commands/TestStory.cs index b6f7f9e..b3c0989 100644 --- a/ShiftOS.Main/Terminal/Commands/TestStory.cs +++ b/ShiftOS.Main/Terminal/Commands/TestStory.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Drawing; using System.Linq; using System.Text; using System.Threading; @@ -18,10 +19,19 @@ namespace ShiftOS.Main.Terminal.Commands { var r = new Random(); WriteLine($"Incoming connection from {r.Next(0, 256)}.{r.Next(0, 256)}.{r.Next(0, 256)}.{r.Next(0, 256)}..."); - Task.Delay(2000); + WriteLine(); //The various Task.Delay functions are to make the Thread.Sleep function work. + Thread.Sleep(r.Next(2000, 4500)); WriteLine("User set alias as \"DevX\"."); - Thread.Sleep(2000); + Task.Delay(1); + Thread.Sleep(4000); WriteLine("User has connected successfully!"); + Task.Delay(1); + Thread.Sleep(3400); + StoryWriteLine("Well, it seems ShiftOS has installed. Congrats.... err... whatever your name is."); + } + private void StoryWriteLine(string value) + { + WriteLine($"[devx@master ~]$ {value}"); } } } -- cgit v1.2.3