deno
349e6c8d - fix(ext/node): wake event loop on Windows TTY write to flush prompt

Commit
110 days ago
fix(ext/node): wake event loop on Windows TTY write to flush prompt When a write is queued to a TTY handle on Windows, the deferred write callback was not processed until something else woke the event loop (e.g. console input). This caused inquirer-style prompts to not render until the user pressed a key. Add UvLoopInner::wake() and call it from ensure_tty_registered on Windows so the event loop re-polls promptly after a write is queued, flushing the write callback and allowing the JS layer to render the prompt UI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Parents
Loading