Use io-console for Windows console support - #917
Draft
nobu wants to merge 2 commits into
Draft
Conversation
Remove Fiddle bindings by using `io-console` for Windows input and screen operations.
nobu
force-pushed
the
windows-console-support
branch
12 times, most recently
from
August 4, 2026 06:41
4713478 to
6460d7c
Compare
Use the Windows console API branch before raising the released `io-console` dependency.
nobu
force-pushed
the
windows-console-support
branch
from
August 4, 2026 06:44
6460d7c to
a4489e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
IO#console_input_eventsfor interruptible input event processingfiddledevelopment dependencyReline::KeyEventRecordMotivation
Reline currently carries its own Win32 API bindings and input record parsing. Moving those responsibilities to io-console removes duplicated platform code, gives CRuby and JRuby the same Windows console path, and lets console input waits remain responsive to Ruby interrupts.
This PR depends on ruby/io-console#140. The Gemfile temporarily points at its development branch so this PR can test the integration before the required io-console version is released.
Validation