Replies: 1 comment 1 reply
-
Thanks for sharing this! I've noticed the sluggish key repeat in Windows console apps too. Have you tested this change extensively to ensure it doesn't introduce any unintended side effects or stability issues? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Noticed on Windows (but not in linux), that the repeating key is not as fast a normal repeating key on the command line.
I believe I tracked the "speed hesitator" down to this line of code under ..\ConsoleDrivers\WindowsConsole.cs ReadConsoleInput ()
Adjusting the delay down to 25 ms brings it in-line with a bare console repeat speed. And it didn't appear to change the 'cpu pressure' with a shorter delay.
I see similar code in ..\ConsoleDrivers\NetDriver\NetEvents.cs ReadConsoleKeyInfo
But am not sure what system or os uses the NetDriver.
Beta Was this translation helpful? Give feedback.
All reactions