aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/MainForms/TerminalApps.vb
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-05 06:27:35 +0700
committerEverythingWindows <[email protected]>2022-11-05 06:27:35 +0700
commit06623f4cb1e7db88d59a429abc7f0a985dc0eea6 (patch)
tree7ecabadbfa3e147371cdb53779a35f66d0d82e66 /ShiftOS-TheRevival/MainForms/TerminalApps.vb
parent60b6ce686dfd812c6f808a01463473610787e15c (diff)
downloadshiftos-therevival-old-06623f4cb1e7db88d59a429abc7f0a985dc0eea6.tar.gz
shiftos-therevival-old-06623f4cb1e7db88d59a429abc7f0a985dc0eea6.tar.bz2
shiftos-therevival-old-06623f4cb1e7db88d59a429abc7f0a985dc0eea6.zip
PAUSE function
Diffstat (limited to 'ShiftOS-TheRevival/MainForms/TerminalApps.vb')
-rw-r--r--ShiftOS-TheRevival/MainForms/TerminalApps.vb12
1 files changed, 10 insertions, 2 deletions
diff --git a/ShiftOS-TheRevival/MainForms/TerminalApps.vb b/ShiftOS-TheRevival/MainForms/TerminalApps.vb
index b493118..517dfd2 100644
--- a/ShiftOS-TheRevival/MainForms/TerminalApps.vb
+++ b/ShiftOS-TheRevival/MainForms/TerminalApps.vb
@@ -21,7 +21,12 @@
Terminal.CurrentInterpreter = "guess"
GTN_GenerateNumber()
ShouldChange = True
- Case "shiftoriumfx"
+ Case "pause" 'Pause function
+ Terminal.DefaultPrompt = "Press any key to continue..."
+ Terminal.CurrentInterpreter = "pause"
+ Terminal.TextBox1.ReadOnly = True
+ ShouldChange = True
+ Case "shiftoriumfx" 'ShiftoriumFX : Advanced Shiftorium
Terminal.DefaultPrompt = "Navigate> "
Terminal.CurrentInterpreter = "shiftoriumfx"
ShiftoriumFX_DisplayPackages()
@@ -39,6 +44,7 @@
Terminal.CurrentInterpreter = "terminal"
Terminal.PrintPrompt()
Terminal.AssignPrompt()
+ Terminal.TextBox1.ReadOnly = False
End Sub
Public Sub DoChildCommand()
@@ -54,9 +60,11 @@
Terminal.TextBox1.Text = Terminal.TextBox1.Text & Environment.NewLine & "Invalid value!"
End Try
End Select
+ Case "pause"
+ TerminateApp()
Case "shiftoriumfx"
Select Case Terminal.command
- Case ""
+ 'Case ""
Case "exit"
TerminateApp()