aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/API/TerminalAPI.vb
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-19 06:54:01 +0700
committerEverythingWindows <[email protected]>2022-11-19 06:54:01 +0700
commit1d1722345b99abe7f52e999994ccb3e088cbd3c2 (patch)
tree327c1bd028102ddcec8c71d8a5229740f35f089e /ShiftOS-TheRevival/API/TerminalAPI.vb
parente73d05d3b013924c89c6c8824f8bf338ec52ffbd (diff)
downloadshiftos-therevival-old-1d1722345b99abe7f52e999994ccb3e088cbd3c2.tar.gz
shiftos-therevival-old-1d1722345b99abe7f52e999994ccb3e088cbd3c2.tar.bz2
shiftos-therevival-old-1d1722345b99abe7f52e999994ccb3e088cbd3c2.zip
Rename function implemented
Diffstat (limited to 'ShiftOS-TheRevival/API/TerminalAPI.vb')
-rw-r--r--ShiftOS-TheRevival/API/TerminalAPI.vb19
1 files changed, 16 insertions, 3 deletions
diff --git a/ShiftOS-TheRevival/API/TerminalAPI.vb b/ShiftOS-TheRevival/API/TerminalAPI.vb
index e28f222..66b6af6 100644
--- a/ShiftOS-TheRevival/API/TerminalAPI.vb
+++ b/ShiftOS-TheRevival/API/TerminalAPI.vb
@@ -264,9 +264,15 @@
NormalCommand()
End If
Case "time"
- Terminal_Time()
- AdvancedCommand = False
- NormalCommand()
+ If Strings.AvailableFeature(5) = 1 Then
+ Terminal_Time()
+ AdvancedCommand = False
+ NormalCommand()
+ ElseIf Strings.AvailableFeature(5) = 3 Then
+ Terminal_Time()
+ AdvancedCommand = False
+ NormalCommand()
+ End If
Case "su"
Terminal_Su()
AdvancedCommand = False
@@ -340,6 +346,13 @@
AdvancedCommand = False
End If
End If
+ If command Like "ren '*' '*'" Then
+ If Strings.AvailableFeature(31) = 1 Then
+ Rename()
+ NormalCommand()
+ AdvancedCommand = False
+ End If
+ End If
If command Like "rev *" Then
If Strings.AvailableFeature(21) = 1 Then
Reverse()