You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a terminal emulator, use this library to create a program such as PowerShell,it takes at least 100ms to read the output of PowerShell,this causes the terminal to appear to be stuck when you press and hold the keyboard to send characters continuously.
As the regression introduced by the performance improvement caused deadlocks, I decided to rollback the change, and at the moment, the 100ms delay is expected. Recently an update (microsoft/terminal#17510) to add support for overlapped I/O took place in ConPTY, however, the changes at the moment haven't been upstreamed yet, and it could take up to another month to be available (subject to updates).
I'm writing a terminal emulator, use this library to create a program such as PowerShell,it takes at least 100ms to read the output of PowerShell,this causes the terminal to appear to be stuck when you press and hold the keyboard to send characters continuously.
Is there a way to reduce this time granularity?
My test code:
press and hold the keyboard,result:
The text was updated successfully, but these errors were encountered: