Skip to content

Commit

Permalink
Kitty produces unknown sequence on startup. (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinek authored Nov 9, 2023
1 parent 4eafce1 commit bfb2514
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Consolonia.PlatformSupport/CursesConsole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ private static readonly FlagTranslator<Key, ConsoleKey>
(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<Curses.Event, RawInputModifiers>
Expand Down

0 comments on commit bfb2514

Please sign in to comment.