From 0e6eb6e76f8227b8055f5ea032f9582dcacee5f5 Mon Sep 17 00:00:00 2001 From: EverythingWindows Date: Sat, 3 Dec 2022 23:16:06 +0700 Subject: Console Font finished and the foundation of new window manager is there --- ShiftOS-TheRevival/API/TerminalAPI.vb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ShiftOS-TheRevival/API/TerminalAPI.vb') diff --git a/ShiftOS-TheRevival/API/TerminalAPI.vb b/ShiftOS-TheRevival/API/TerminalAPI.vb index 10a6214..65faa9e 100644 --- a/ShiftOS-TheRevival/API/TerminalAPI.vb +++ b/ShiftOS-TheRevival/API/TerminalAPI.vb @@ -14,6 +14,7 @@ Module TerminalAPI Cursor.Hide() Strings.OnceInfo(7) = Console.Width Strings.OnceInfo(8) = Console.Height + Console.TextBox1.Font = New Font("Consolas", 11) If Strings.IsFree = True Then Strings.ComputerInfo(0) = "shiftos" Strings.ComputerInfo(1) = "user" @@ -55,6 +56,11 @@ Module TerminalAPI Cursor.Show() Console_Windowed() Console.TopMost = True + Try + Console.TextBox1.Font = GUISCustomizations.GUIConsoleFont + Catch ex As Exception + Console.TextBox1.Font = New Font("Consolas", 11) + End Try Terminal_PrintPrompt() Terminal_AssignPrompt() End If -- cgit v1.2.3