diff options
| author | EverythingWindows <[email protected]> | 2022-12-04 18:46:53 +0700 |
|---|---|---|
| committer | EverythingWindows <[email protected]> | 2022-12-04 18:46:53 +0700 |
| commit | 2cb19f4dd09ab07893b331bf93728368ae0c3f00 (patch) | |
| tree | 887620644090347b36eee6c649289955aa03b7af /ShiftOS-TheRevival/API/TerminalAPI.vb | |
| parent | 0e6eb6e76f8227b8055f5ea032f9582dcacee5f5 (diff) | |
| download | shiftos-therevival-old-2cb19f4dd09ab07893b331bf93728368ae0c3f00.tar.gz shiftos-therevival-old-2cb19f4dd09ab07893b331bf93728368ae0c3f00.tar.bz2 shiftos-therevival-old-2cb19f4dd09ab07893b331bf93728368ae0c3f00.zip | |
little work on the next window manager
Diffstat (limited to 'ShiftOS-TheRevival/API/TerminalAPI.vb')
| -rw-r--r-- | ShiftOS-TheRevival/API/TerminalAPI.vb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ShiftOS-TheRevival/API/TerminalAPI.vb b/ShiftOS-TheRevival/API/TerminalAPI.vb index 65faa9e..66a0409 100644 --- a/ShiftOS-TheRevival/API/TerminalAPI.vb +++ b/ShiftOS-TheRevival/API/TerminalAPI.vb @@ -11,10 +11,11 @@ Module TerminalAPI Strings.OnceInfo(4) = "!" If IsConsoleParent = True Then Console.TopMost = False - Cursor.Hide() Strings.OnceInfo(7) = Console.Width Strings.OnceInfo(8) = Console.Height Console.TextBox1.Font = New Font("Consolas", 11) + Console.ConsoleFontHandle.Stop() + Cursor.Hide() If Strings.IsFree = True Then Strings.ComputerInfo(0) = "shiftos" Strings.ComputerInfo(1) = "user" @@ -53,7 +54,6 @@ Module TerminalAPI End If End If Else - Cursor.Show() Console_Windowed() Console.TopMost = True Try @@ -63,6 +63,8 @@ Module TerminalAPI End Try Terminal_PrintPrompt() Terminal_AssignPrompt() + Cursor.Show() + Console.ConsoleFontHandle.Start() End If Console.CurrentDirectory = Strings.OnceInfo(1) Console.Pseudodir = Console.CurrentDirectory.Replace(Strings.OnceInfo(1), "!\") @@ -195,6 +197,8 @@ Module TerminalAPI Case "05tray" _05tray() NewLine("you cheater!") + Case "anus" + AnusWM_Menu.Show() Case "applist" If IsStartG = True Then AppList() |
