From 4beaaa1988db67f89ed55d52738fe0d465d6482f Mon Sep 17 00:00:00 2001 From: EverythingWindows Date: Thu, 17 Nov 2022 13:36:07 +0700 Subject: further isolate any terminal-related function from console --- .../TerminalApplications/External/TerminalExternalApps.vb | 6 +++--- ShiftOS-TheRevival/TerminalApplications/Internal/Com_Infobar.vb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'ShiftOS-TheRevival/TerminalApplications') diff --git a/ShiftOS-TheRevival/TerminalApplications/External/TerminalExternalApps.vb b/ShiftOS-TheRevival/TerminalApplications/External/TerminalExternalApps.vb index b3ef9d5..4777fd1 100644 --- a/ShiftOS-TheRevival/TerminalApplications/External/TerminalExternalApps.vb +++ b/ShiftOS-TheRevival/TerminalApplications/External/TerminalExternalApps.vb @@ -56,7 +56,7 @@ Module TerminalExternalApps Console.DefaultPrompt = Nothing Console.TextBox1.Text = Nothing Console.ToolBarUse = True - Console.CheckFeature() + Terminal_CheckFeature() Console.CurrentInterpreter = "textpad" 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" @@ -98,7 +98,7 @@ Module TerminalExternalApps Console.ChangeInterpreter = False Console.ReleaseCursor = False Console.CurrentInterpreter = "terminal" - Console.CheckFeature() + Terminal_CheckFeature() Terminal_AssignPrompt() Terminal_PrintPrompt() TextRebind() @@ -107,7 +107,7 @@ Module TerminalExternalApps Console.ChangeInterpreter = False Console.ReleaseCursor = False Console.CurrentInterpreter = "terminal" - Console.CheckFeature() + Terminal_CheckFeature() Terminal_AssignPrompt() Terminal_PrintPrompt() TextRebind() diff --git a/ShiftOS-TheRevival/TerminalApplications/Internal/Com_Infobar.vb b/ShiftOS-TheRevival/TerminalApplications/Internal/Com_Infobar.vb index 286e544..1bf1224 100644 --- a/ShiftOS-TheRevival/TerminalApplications/Internal/Com_Infobar.vb +++ b/ShiftOS-TheRevival/TerminalApplications/Internal/Com_Infobar.vb @@ -6,12 +6,12 @@ Select Case infobarcommand Case "on" Strings.OnceInfo(2) = "True" - Console.CheckFeature() + Terminal_CheckFeature() NormalCommand() advancedtool = False Case "off" Strings.OnceInfo(2) = "False" - Console.CheckFeature() + Terminal_CheckFeature() NormalCommand() advancedtool = False End Select -- cgit v1.2.3