diff options
| author | EverythingWindows <[email protected]> | 2022-11-06 21:19:35 +0700 |
|---|---|---|
| committer | EverythingWindows <[email protected]> | 2022-11-06 21:19:35 +0700 |
| commit | e17103c363ce30c2baa6f3795177a4eeae1e535a (patch) | |
| tree | f8ef1a89f33909b27b6ba35828618b9656969772 /ShiftOS-TheRevival/MainForms/Terminal.vb | |
| parent | 1ca1bed37df7422ab7049f44bf864494747abd51 (diff) | |
| download | shiftos-therevival-old-e17103c363ce30c2baa6f3795177a4eeae1e535a.tar.gz shiftos-therevival-old-e17103c363ce30c2baa6f3795177a4eeae1e535a.tar.bz2 shiftos-therevival-old-e17103c363ce30c2baa6f3795177a4eeae1e535a.zip | |
dir fixing and stuff
Diffstat (limited to 'ShiftOS-TheRevival/MainForms/Terminal.vb')
| -rw-r--r-- | ShiftOS-TheRevival/MainForms/Terminal.vb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/MainForms/Terminal.vb b/ShiftOS-TheRevival/MainForms/Terminal.vb index ac7d521..c4a4e7b 100644 --- a/ShiftOS-TheRevival/MainForms/Terminal.vb +++ b/ShiftOS-TheRevival/MainForms/Terminal.vb @@ -180,6 +180,16 @@ Public Class Terminal TerminalDirectories(CurrentDirectory) AdvancedCommand = False BadCommand = False + Case "exit su" + If Strings.OnceInfo(0) = "No" Then + + Else + AdvancedCommand = False + BadCommand = False + TextBox1.Text = TextBox1.Text & Environment.NewLine & "Exitting root mode..." + Strings.OnceInfo(0) = "No" + AssignPrompt() + End If Case "guess" ChangeInterpreter = True AppHost("guess", False) @@ -335,6 +345,9 @@ Public Class Terminal End Select If AdvancedCommand = True Then + If command Like "cat *" Then + CatFile(command.Substring(4)) + End If If command Like "cd *" Then NavigateDir(command.Replace("cd ", "")) AdvancedCommand = False |
