aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/TerminalApplications
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-23 08:36:50 +0700
committerEverythingWindows <[email protected]>2022-11-23 08:36:50 +0700
commit30ceaeb60fcb83cd3eaf5ec7a3dd34e3abade51d (patch)
tree64ea4a51d30d7405d96866c546779f8a1f051060 /ShiftOS-TheRevival/TerminalApplications
parent60b812a15b3912afe36679652d8fa625aea126bf (diff)
downloadshiftos-therevival-old-30ceaeb60fcb83cd3eaf5ec7a3dd34e3abade51d.tar.gz
shiftos-therevival-old-30ceaeb60fcb83cd3eaf5ec7a3dd34e3abade51d.tar.bz2
shiftos-therevival-old-30ceaeb60fcb83cd3eaf5ec7a3dd34e3abade51d.zip
DuWM enhancements
Diffstat (limited to 'ShiftOS-TheRevival/TerminalApplications')
-rw-r--r--ShiftOS-TheRevival/TerminalApplications/Internal/Com_App.vb2
-rw-r--r--ShiftOS-TheRevival/TerminalApplications/Internal/Com_Taskkill.vb10
2 files changed, 12 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/TerminalApplications/Internal/Com_App.vb b/ShiftOS-TheRevival/TerminalApplications/Internal/Com_App.vb
index 3afb7d6..ce0e246 100644
--- a/ShiftOS-TheRevival/TerminalApplications/Internal/Com_App.vb
+++ b/ShiftOS-TheRevival/TerminalApplications/Internal/Com_App.vb
@@ -6,6 +6,8 @@
Select Case Strings.ComputerInfo(7)
Case 1
Select Case AppName
+ Case "knowledge_input"
+ DuWM_NewProcess(Uni_KnowledgeInput)
Case "shifter"
DuWM_NewProcess(DuWM_Shifter)
End Select
diff --git a/ShiftOS-TheRevival/TerminalApplications/Internal/Com_Taskkill.vb b/ShiftOS-TheRevival/TerminalApplications/Internal/Com_Taskkill.vb
new file mode 100644
index 0000000..6cd12c9
--- /dev/null
+++ b/ShiftOS-TheRevival/TerminalApplications/Internal/Com_Taskkill.vb
@@ -0,0 +1,10 @@
+Module Com_Taskkill
+ Public Sub Taskkill()
+ Dim PID As Integer = command.Substring(9)
+ If PID = 0 Then
+ NewLine("You cannot kill Terminal in this Window Manager")
+ Else
+ Strings.ProcessID(PID) = 0
+ End If
+ End Sub
+End Module