mirror of
https://github.com/EverythingWindows/ShiftOS-TheRevival-Old.git
synced 2025-01-22 18:02:16 +00:00
completing any migration from TerminalExternalApps into its own module
This commit is contained in:
parent
1d1722345b
commit
eb41e07992
6 changed files with 11 additions and 7 deletions
|
@ -9,6 +9,13 @@
|
||||||
Console.WindowState = FormWindowState.Maximized
|
Console.WindowState = FormWindowState.Maximized
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Public Sub Console_Interpreters()
|
||||||
|
If Console.ShouldChange = True Then
|
||||||
|
Console.ChangeInterpreter = True
|
||||||
|
Console.ShouldChange = False
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
Public Sub NewLine(str As String)
|
Public Sub NewLine(str As String)
|
||||||
Console.TextBox1.Text = Console.TextBox1.Text & Environment.NewLine & str
|
Console.TextBox1.Text = Console.TextBox1.Text & Environment.NewLine & str
|
||||||
End Sub
|
End Sub
|
||||||
|
|
|
@ -167,7 +167,6 @@
|
||||||
Case "bc"
|
Case "bc"
|
||||||
If Strings.AvailableFeature(9) = "1" Then
|
If Strings.AvailableFeature(9) = "1" Then
|
||||||
Console.ChangeInterpreter = True
|
Console.ChangeInterpreter = True
|
||||||
'AppHost("bc", False)
|
|
||||||
BC_Start()
|
BC_Start()
|
||||||
AdvancedCommand = False
|
AdvancedCommand = False
|
||||||
NormalCommand()
|
NormalCommand()
|
||||||
|
@ -206,7 +205,6 @@
|
||||||
End If
|
End If
|
||||||
Case "guess"
|
Case "guess"
|
||||||
Console.ChangeInterpreter = True
|
Console.ChangeInterpreter = True
|
||||||
'AppHost("guess", False)
|
|
||||||
GTN_Start()
|
GTN_Start()
|
||||||
AdvancedCommand = False
|
AdvancedCommand = False
|
||||||
NormalCommand()
|
NormalCommand()
|
||||||
|
@ -382,7 +380,6 @@
|
||||||
Console.ChangeInterpreter = True
|
Console.ChangeInterpreter = True
|
||||||
command = RawCommand.Replace("textpad ", "")
|
command = RawCommand.Replace("textpad ", "")
|
||||||
TextPad_Start()
|
TextPad_Start()
|
||||||
'AppHost("textpad", True)
|
|
||||||
AdvancedCommand = False
|
AdvancedCommand = False
|
||||||
NormalCommand()
|
NormalCommand()
|
||||||
End If
|
End If
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
NewLine(Nothing)
|
NewLine(Nothing)
|
||||||
Console.CurrentInterpreter = "bc"
|
Console.CurrentInterpreter = "bc"
|
||||||
Console.ShouldChange = True
|
Console.ShouldChange = True
|
||||||
|
Console_Interpreters()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub BC_Calculate()
|
Public Sub BC_Calculate()
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
Console.CurrentInterpreter = "guess"
|
Console.CurrentInterpreter = "guess"
|
||||||
GTN_GenerateNumber()
|
GTN_GenerateNumber()
|
||||||
Console.ShouldChange = True
|
Console.ShouldChange = True
|
||||||
|
Console_Interpreters()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub GTN_GenerateNumber()
|
Public Sub GTN_GenerateNumber()
|
||||||
|
|
|
@ -24,10 +24,6 @@ Module TerminalExternalApps
|
||||||
'Strings.OnceInfo(5) = Terminal.TrackPos
|
'Strings.OnceInfo(5) = Terminal.TrackPos
|
||||||
'Terminal.TrackPos = Nothing
|
'Terminal.TrackPos = Nothing
|
||||||
End If
|
End If
|
||||||
If Console.ShouldChange = True Then
|
|
||||||
Console.ChangeInterpreter = True
|
|
||||||
Console.ShouldChange = False
|
|
||||||
End If
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,8 @@ Module App_TextPad
|
||||||
TextPad_CheckExist(command)
|
TextPad_CheckExist(command)
|
||||||
Console.ToolBar.Text = "TextPad - " & command & Environment.NewLine & "Ctrl-Q Exit | Ctrl-N New | Ctrl-O Open | Ctrl-S Save | F12 Save As"
|
Console.ToolBar.Text = "TextPad - " & command & Environment.NewLine & "Ctrl-Q Exit | Ctrl-N New | Ctrl-O Open | Ctrl-S Save | F12 Save As"
|
||||||
Console.ReleaseCursor = True
|
Console.ReleaseCursor = True
|
||||||
|
Console.ShouldChange = True
|
||||||
|
Console_Interpreters()
|
||||||
TextRebind()
|
TextRebind()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue