Skip to content

PtyProcess/PtyWaitEvent wait workaround.#5

Merged
klugier merged 1 commit intoultimatepp:mainfrom
ismail-yilmaz:ptywaitevent-workaround-win
Oct 11, 2025
Merged

PtyProcess/PtyWaitEvent wait workaround.#5
klugier merged 1 commit intoultimatepp:mainfrom
ismail-yilmaz:ptywaitevent-workaround-win

Conversation

@ismail-yilmaz
Copy link
Copy Markdown
Member

There seems to be a bug in PtyWaitEvent that makes Wait always return false (on Windows). So this is a workaround.

This patch makes Wait effectively the same as Sleep. (It will always wait 10 ms on Windows). Harmless, but definitely needs fixing in the following days.

There seems to be a bug in PtyWaitEvent that makes Wait always return false (on Windows). So this is a workaround.
 
This patch makes `Wait` effectively the same as `Sleep`. (It will always wait 10 ms). Harmless, but needs fixing in the following days.
@klugier klugier merged commit c2ce90b into ultimatepp:main Oct 11, 2025
@klugier
Copy link
Copy Markdown
Member

klugier commented Oct 11, 2025

Thanks!

@ismail-yilmaz ismail-yilmaz deleted the ptywaitevent-workaround-win branch October 11, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants