aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/MainForms/Console.vb
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-18 16:58:37 +0700
committerEverythingWindows <[email protected]>2022-11-18 16:58:37 +0700
commit996601e9cc2874b7aa6e38772bbb7ac23eed6413 (patch)
tree26f54064983e2a20d487488784697ae5ad8e5e4e /ShiftOS-TheRevival/MainForms/Console.vb
parent4beaaa1988db67f89ed55d52738fe0d465d6482f (diff)
downloadshiftos-therevival-old-996601e9cc2874b7aa6e38772bbb7ac23eed6413.tar.gz
shiftos-therevival-old-996601e9cc2874b7aa6e38772bbb7ac23eed6413.tar.bz2
shiftos-therevival-old-996601e9cc2874b7aa6e38772bbb7ac23eed6413.zip
Moving majority functions of apps from TerminalExternalApp into its own separate module and fixing bug on ability to set hostname and username to blank
Diffstat (limited to 'ShiftOS-TheRevival/MainForms/Console.vb')
-rw-r--r--ShiftOS-TheRevival/MainForms/Console.vb4
1 files changed, 4 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/MainForms/Console.vb b/ShiftOS-TheRevival/MainForms/Console.vb
index 41d17fb..c9f4ae9 100644
--- a/ShiftOS-TheRevival/MainForms/Console.vb
+++ b/ShiftOS-TheRevival/MainForms/Console.vb
@@ -6,6 +6,7 @@ Public Class Console
Public BadCommand As Boolean 'Detect if it's a bad command or not
Public DisplayStory As Integer 'Keep record for displaying the DevX's or other's monologue
Public StoryToTell As String 'Which chapter that you're going to be in
+ Public ShouldChange As Boolean = False 'Indicates if the interpreter should changed to a specific program
Public ChangeInterpreter As Boolean = False 'Default interpreter is Terminal, if it's changed to True, there'll be other program used by Console
Public CurrentInterpreter As String 'Shows what program is using Console
Public CurrentDirectory As String 'Current Directory for ShiftOS Explorer
@@ -16,6 +17,9 @@ Public Class Console
Public ShOSKey As String 'DOSKEY tracking string for ShiftOS
Private Sub Console_Load(sender As Object, e As EventArgs) Handles MyBase.Load
+ With ShortcutHandler
+ .WorkerSupportsCancellation = True
+ End With
Console_Full()
Cursor.Hide()
InitializeTerminal()