Rewrite `Win32API` class to Fiddle
Open
Nobody has claimed this yet.
Windows
- Dominant language
- Ruby
- Stars
- 311
- Forks
- 99
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 1
Description
There is no reason we use Win32API.rb instead of Fiddle directly.
https://github.com/ruby/reline/blob/master/lib/reline/windows.rb#L55
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at lib/reline/windows.rb around line 55 and inspect how Win32API.rb is used there. Replace that wrapper with direct Fiddle usage, then run the relevant Reline tests to confirm the Windows API behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100