aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/MainForms
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-14 19:55:48 +0700
committerEverythingWindows <[email protected]>2022-11-14 19:55:48 +0700
commit52674dbd4d03161aba9cadb68f09b69fd71b8ecb (patch)
treeafe00cdce077273fbe537f973696e3f3c84299e7 /ShiftOS-TheRevival/MainForms
parent75ae158b14df32ef41cebfce664dc5d0c50104f3 (diff)
downloadshiftos-therevival-old-52674dbd4d03161aba9cadb68f09b69fd71b8ecb.tar.gz
shiftos-therevival-old-52674dbd4d03161aba9cadb68f09b69fd71b8ecb.tar.bz2
shiftos-therevival-old-52674dbd4d03161aba9cadb68f09b69fd71b8ecb.zip
All one-way commands are not separated into each own module
Diffstat (limited to 'ShiftOS-TheRevival/MainForms')
-rw-r--r--ShiftOS-TheRevival/MainForms/Console.vb19
1 files changed, 7 insertions, 12 deletions
diff --git a/ShiftOS-TheRevival/MainForms/Console.vb b/ShiftOS-TheRevival/MainForms/Console.vb
index 8837c48..dc86960 100644
--- a/ShiftOS-TheRevival/MainForms/Console.vb
+++ b/ShiftOS-TheRevival/MainForms/Console.vb
@@ -123,7 +123,7 @@ Public Class Console
BadCommand = False
End If
Case "codepoint"
- NewLine(Strings.ComputerInfo(2) & " Codepoint(s) available in your wallet")
+ Codepoint()
AdvancedCommand = False
BadCommand = False
Case "colors"
@@ -131,7 +131,7 @@ Public Class Console
AdvancedCommand = False
BadCommand = False
Case "date"
- DateTerm()
+ Terminal_Date()
Case "dir"
If Strings.AvailableFeature(16) = "1" Then
TerminalDirectories(CurrentDirectory)
@@ -164,7 +164,7 @@ Public Class Console
End If
Case "pwd"
If Strings.AvailableFeature(16) = 1 Then
- NewLine(CurrentDirectory.Replace(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\ShiftOS\ShiftFS", "!"))
+ Pwd()
AdvancedCommand = False
BadCommand = False
End If
@@ -200,25 +200,20 @@ Public Class Console
Close()
Case "textpad"
If Strings.AvailableFeature(17) = "1" Then
- NewLine("Type any filename after 'textpad'!, ex: textpad text.txt")
+ TextPad_WarnFile()
AdvancedCommand = False
BadCommand = False
End If
Case "time"
- TimeTerm()
+ Terminal_Time()
AdvancedCommand = False
BadCommand = False
Case "su"
- If Strings.OnceInfo(0) = "Yes" Then
- NewLine("You already in root mode!")
- Else
- Strings.OnceInfo(0) = "Yes"
- Terminal_AssignPrompt()
- End If
+ Terminal_Su()
AdvancedCommand = False
BadCommand = False
Case "ver"
- NewLine("ShiftOS TheRevival version " & My.Resources.CurrentVersion)
+ Terminal_Version()
AdvancedCommand = False
BadCommand = False
End Select