aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/Terminal Applications/Internal/Com_Infobar.vb
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-16 08:07:44 +0700
committerEverythingWindows <[email protected]>2022-11-16 08:07:44 +0700
commit5aceb7cf1efbfa21ab6a56e2e0cde13774217f97 (patch)
tree7eb03754a5e4f5fd85c415473b54c629cf404e1c /ShiftOS-TheRevival/Terminal Applications/Internal/Com_Infobar.vb
parent8b879eb638cbb842c723b64f53b04d30d931a4f0 (diff)
downloadshiftos-therevival-old-5aceb7cf1efbfa21ab6a56e2e0cde13774217f97.tar.gz
shiftos-therevival-old-5aceb7cf1efbfa21ab6a56e2e0cde13774217f97.tar.bz2
shiftos-therevival-old-5aceb7cf1efbfa21ab6a56e2e0cde13774217f97.zip
Moving more commands from TerminalAPI into its own module
Diffstat (limited to 'ShiftOS-TheRevival/Terminal Applications/Internal/Com_Infobar.vb')
-rw-r--r--ShiftOS-TheRevival/Terminal Applications/Internal/Com_Infobar.vb25
1 files changed, 25 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/Terminal Applications/Internal/Com_Infobar.vb b/ShiftOS-TheRevival/Terminal Applications/Internal/Com_Infobar.vb
new file mode 100644
index 0000000..c067125
--- /dev/null
+++ b/ShiftOS-TheRevival/Terminal Applications/Internal/Com_Infobar.vb
@@ -0,0 +1,25 @@
+Module Com_Infobar
+ Public Sub Infobar()
+ 'Infobar panel-ish and some sort
+ Dim infobarcommand As String = command.Replace("infobar ", "")
+ Dim advancedtool As Boolean = True
+ Select Case infobarcommand
+ Case "on"
+ Strings.OnceInfo(2) = "True"
+ Console.CheckFeature()
+ Console.BadCommand = False
+ advancedtool = False
+ Case "off"
+ Strings.OnceInfo(2) = "False"
+ Console.CheckFeature()
+ Console.BadCommand = False
+ advancedtool = False
+ End Select
+ If advancedtool = True Then
+ If infobarcommand Like "color *" Then
+ GetColor("infobar", infobarcommand.Substring(6, 1), infobarcommand.Substring(7, 1))
+ Console.BadCommand = False
+ End If
+ End If
+ End Sub
+End Module