aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFloppyDiskDrive <[email protected]>2017-11-18 12:29:15 -0600
committerFloppyDiskDrive <[email protected]>2017-11-18 12:29:15 -0600
commitb737aa8ded0793855fe5e5f49c8967051bd11907 (patch)
tree2f6696d0c302e20ac1d401e72b0538cbd3079a27
parentcc734557de877186c5f5eb1e59efdcb785ac37a8 (diff)
downloadshiftos-rewind-b737aa8ded0793855fe5e5f49c8967051bd11907.tar.gz
shiftos-rewind-b737aa8ded0793855fe5e5f49c8967051bd11907.tar.bz2
shiftos-rewind-b737aa8ded0793855fe5e5f49c8967051bd11907.zip
new cmd and stuff
-rw-r--r--ShiftOS.Main/ShiftOS.Main.csproj1
-rw-r--r--ShiftOS.Main/ShiftOS/Apps/Terminal.Designer.cs1
-rw-r--r--ShiftOS.Main/Terminal/Commands/TestStory.cs26
3 files changed, 28 insertions, 0 deletions
diff --git a/ShiftOS.Main/ShiftOS.Main.csproj b/ShiftOS.Main/ShiftOS.Main.csproj
index 35d7761..e70869b 100644
--- a/ShiftOS.Main/ShiftOS.Main.csproj
+++ b/ShiftOS.Main/ShiftOS.Main.csproj
@@ -100,6 +100,7 @@
<DependentUpon>Desktop.cs</DependentUpon>
</Compile>
<Compile Include="Terminal\Commands\Hello.cs" />
+ <Compile Include="Terminal\Commands\TestStory.cs" />
<Compile Include="Terminal\TerminalBackend.cs" />
<Compile Include="Terminal\TerminalCommand.cs" />
<EmbeddedResource Include="Properties\Resources.resx">
diff --git a/ShiftOS.Main/ShiftOS/Apps/Terminal.Designer.cs b/ShiftOS.Main/ShiftOS/Apps/Terminal.Designer.cs
index b514bbf..a746456 100644
--- a/ShiftOS.Main/ShiftOS/Apps/Terminal.Designer.cs
+++ b/ShiftOS.Main/ShiftOS/Apps/Terminal.Designer.cs
@@ -36,6 +36,7 @@
this.termmain.BackColor = System.Drawing.Color.Black;
this.termmain.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.termmain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.termmain.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.termmain.ForeColor = System.Drawing.Color.White;
this.termmain.Location = new System.Drawing.Point(0, 0);
this.termmain.Name = "termmain";
diff --git a/ShiftOS.Main/Terminal/Commands/TestStory.cs b/ShiftOS.Main/Terminal/Commands/TestStory.cs
new file mode 100644
index 0000000..379c7ca
--- /dev/null
+++ b/ShiftOS.Main/Terminal/Commands/TestStory.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace ShiftOS.Main.Terminal.Commands
+{
+ public class TestStory : TerminalCommand
+ {
+ public override string Name { get; } = "teststory";
+ public override string Summary { get; } = "Debug Command - Test the intro";
+ public override string Usage { get; } = "n/a";
+ public override bool Unlocked { get; set; } = false;
+
+ public override void Run(params string[] parameters)
+ {
+ WriteLine("Incoming connection...");
+ Thread.Sleep(2000);
+ WriteLine("User set alias as \"DevX\".");
+ Thread.Sleep(2000);
+ WriteLine("User <DevX> has connected successfully!");
+ }
+ }
+}