diff options
| author | EverythingWindows <[email protected]> | 2022-11-02 09:57:21 +0700 |
|---|---|---|
| committer | EverythingWindows <[email protected]> | 2022-11-02 09:57:21 +0700 |
| commit | f93ea520e93ae1ce345a6544a1e3f4e363bdce1f (patch) | |
| tree | e28a261eb53d101073ca3f2008aed3df63bb6518 /ShiftOS-TheRevival/MainForms/Terminal.vb | |
| parent | e6f8b7c77bd3163cb84a077a54a4448b41fa63ce (diff) | |
| download | shiftos-therevival-old-f93ea520e93ae1ce345a6544a1e3f4e363bdce1f.tar.gz shiftos-therevival-old-f93ea520e93ae1ce345a6544a1e3f4e363bdce1f.tar.bz2 shiftos-therevival-old-f93ea520e93ae1ce345a6544a1e3f4e363bdce1f.zip | |
added more command
Diffstat (limited to 'ShiftOS-TheRevival/MainForms/Terminal.vb')
| -rw-r--r-- | ShiftOS-TheRevival/MainForms/Terminal.vb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/MainForms/Terminal.vb b/ShiftOS-TheRevival/MainForms/Terminal.vb index 2b8abd0..8430b23 100644 --- a/ShiftOS-TheRevival/MainForms/Terminal.vb +++ b/ShiftOS-TheRevival/MainForms/Terminal.vb @@ -10,6 +10,7 @@ If Strings.IsFree = True Then Strings.ComputerInfo(0) = "shiftos" Strings.ComputerInfo(1) = "user" + Strings.ComputerInfo(2) = 0 PrintPrompt() AssignPrompt() Else @@ -55,6 +56,25 @@ Case "clear" TextBox1.Text = Nothing AdvancedCommand = False + Case "codepoint" + TextBox1.Text = TextBox1.Text & Environment.NewLine & Strings.ComputerInfo(2) & " Codepoint(s) available in your wallet" + AdvancedCommand = False + Case "help" + TextBox1.Text = TextBox1.Text & Environment.NewLine & "ShiftOS Help Manual" & Environment.NewLine & Environment.NewLine & "You can type 'help' to get all available commands and its corresponding action." + If Strings.AvailableFeature(0) = 1 Then + TextBox1.Text = TextBox1.Text & Environment.NewLine & "To get help on each command, you can type 'man [command]'" + End If + If Strings.AvailableFeature(1) = 1 Then + TextBox1.Text = TextBox1.Text & Environment.NewLine & "CLEAR Clear the terminal" + End If + TextBox1.Text = TextBox1.Text & Environment.NewLine & "CODEPOINT Display Codepoint(s) from your wallet" + TextBox1.Text = TextBox1.Text & Environment.NewLine & "HELP Shows all commands available and its corresponding action" + If Strings.AvailableFeature(0) = 1 Then + TextBox1.Text = TextBox1.Text & Environment.NewLine & "MAN Shows a command, its corresponding action, and its example usage" + End If + TextBox1.Text = TextBox1.Text & Environment.NewLine & "SHUTDOWN Terminate ShiftOS session" + TextBox1.Text = TextBox1.Text & Environment.NewLine & "VER Printing current version of ShiftOS TheRevival" + TextBox1.Text = TextBox1.Text & Environment.NewLine Case "ver" TextBox1.Text = TextBox1.Text & Environment.NewLine & "ShiftOS TheRevival version 0.1.1" AdvancedCommand = False @@ -145,6 +165,9 @@ End If End If End If + + TextBox1.Select(TextBox1.TextLength, 0) + TextBox1.ScrollToCaret() End Sub Private Sub TextBox1_Click(sender As Object, e As EventArgs) Handles TextBox1.Click, TextBox1.MouseDoubleClick |
