From ddf1a243115f52311850a1763a63585f7a2202e9 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Sun, 29 Mar 2026 21:44:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=BAspleen=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BuildTime.txt | 2 +- GitCommit.txt | 2 +- Kernel.cs | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/BuildTime.txt b/BuildTime.txt index 8634bc7..7026fe9 100644 --- a/BuildTime.txt +++ b/BuildTime.txt @@ -1 +1 @@ -2026-03-29 21:14:20 \ No newline at end of file +2026-03-29 21:37:22 \ No newline at end of file diff --git a/GitCommit.txt b/GitCommit.txt index ec9abb1..0fd38ad 100644 --- a/GitCommit.txt +++ b/GitCommit.txt @@ -1 +1 @@ -9f12c64 \ No newline at end of file +d8cdc9d \ No newline at end of file diff --git a/Kernel.cs b/Kernel.cs index fd22058..ecf580f 100644 --- a/Kernel.cs +++ b/Kernel.cs @@ -97,6 +97,10 @@ namespace CMLeonOS private void InitializeSystem() { + // 修改VGA Text Mode字体样式(使用Spleen) + PCScreenFont font = PCScreenFont.Default; + VGAScreen.SetFont(font.CreateVGAFont(), font.Height); + // 修改光标样式 _logger.Info("Kernel", "Setting cursor size to 100"); Console.CursorSize = 100;