This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
ruby--ruby
mirror of
https://github.com/ruby/ruby.git
Watch
1
Star
0
Fork
You've already forked ruby--ruby
0
Code
Releases
Activity
20e165a040
ruby--ruby
/
ext
/
Win32API
/
getch.rb
6 lines
91 B
Ruby
Raw
Blame
History
require
'Win32API'
getch
=
Win32API
.
new
(
"
crtdll
"
,
"
_getch
"
,
[
]
,
'L'
)
puts
getch
.
Call
.
chr
View Git Blame
Copy Permalink