From fefc240cb84b980207833f3bf2cd08b892f35454 Mon Sep 17 00:00:00 2001 From: BDisp Date: Sun, 21 Sep 2025 19:12:04 +0100 Subject: [PATCH] Add unit test for Ctrl+Shift+Alt+7 --- Tests/UnitTests/ConsoleDrivers/AnsiKeyboardParserTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/UnitTests/ConsoleDrivers/AnsiKeyboardParserTests.cs b/Tests/UnitTests/ConsoleDrivers/AnsiKeyboardParserTests.cs index 759c598ed..09fd448c2 100644 --- a/Tests/UnitTests/ConsoleDrivers/AnsiKeyboardParserTests.cs +++ b/Tests/UnitTests/ConsoleDrivers/AnsiKeyboardParserTests.cs @@ -112,6 +112,9 @@ public class AnsiKeyboardParserTests // Keys with Ctrl and Alt modifiers yield return new object [] { "\u001b\u0001", Key.A.WithCtrl.WithAlt, true }; yield return new object [] { "\u001b\u001a", Key.Z.WithCtrl.WithAlt, true }; + + // Keys with Ctrl, Shift and Alt modifiers + yield return new object [] { "\u001b\u001f", Key.D7.WithCtrl.WithShift.WithAlt, true }; } // Consolidated test for all keyboard events (e.g., arrow keys)