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
8f1c92af4f
ruby--ruby
/
ext
/
dl
/
sample
/
getch.rb
6 lines
99 B
Ruby
Raw
Blame
History
require
'dl'
crtdll
=
DL
::
dlopen
(
"
crtdll
"
)
getch
=
crtdll
[
'_getch'
,
'L'
]
print
(
getch
.
call
,
"
\n
"
)
View Git Blame
Copy Permalink