diff --git a/src/Consolonia.PlatformSupport/CursesConsole.cs b/src/Consolonia.PlatformSupport/CursesConsole.cs index 9ab04732..e08ede19 100644 --- a/src/Consolonia.PlatformSupport/CursesConsole.cs +++ b/src/Consolonia.PlatformSupport/CursesConsole.cs @@ -63,7 +63,9 @@ private static readonly FlagTranslator (Key.PageDown, ConsoleKey.PageDown), (Key.PageUp, ConsoleKey.PageUp), (Key.Space, ConsoleKey.Spacebar), - (Key.Tab, ConsoleKey.Tab) + (Key.Tab, ConsoleKey.Tab), + // Proposed by ChatGPT, I've found supporting source: https://devblogs.microsoft.com/dotnet/console-readkey-improvements-in-net-7/ + (Key.Unknown, ConsoleKey.NoName) }); private static readonly FlagTranslator