From 5a6099a7d112eeeaaeb594f05410e24eafad0f0e Mon Sep 17 00:00:00 2001 From: Aptivi Date: Wed, 8 Jan 2025 09:36:23 +0300 Subject: [PATCH] imp - Clear screen with correct color mode --- Apparently, one of the changes made during the sixth major version development caused Console.Clear() to clear the screen with wrong color information. We've changed the way we clear the screen so that the terminal emits the clear screen VT sequence. --- Type: imp Breaking: False Doc Required: False Backport Required: False Part: 1/1 --- public/Terminaux/Base/ConsoleWrapperTools.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/Terminaux/Base/ConsoleWrapperTools.cs b/public/Terminaux/Base/ConsoleWrapperTools.cs index 6996fb8af..c1df1a72f 100644 --- a/public/Terminaux/Base/ConsoleWrapperTools.cs +++ b/public/Terminaux/Base/ConsoleWrapperTools.cs @@ -655,7 +655,7 @@ private static void BeepSeq() => Write(VtSequenceBasicChars.BellChar); private static void Clear() => - Console.Clear(); + Write(ConsoleClearing.GetClearWholeScreenSequence()); private static void ClearLoadBack() {