diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-02-18 10:01:47 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-02-18 10:01:47 +0000 |
commit | 9c1657f302d0d0e5b8eefa2a70f73bdb57d5fcd6 (patch) | |
tree | ebac1b974c7c9a60b995c57b95e25e4a0ab3ca21 /ext/Win32API/getch.rb | |
parent | a9662810df18371af7492dd8298cc0cccc13c7c7 (diff) |
cygwin patches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@83 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/Win32API/getch.rb')
-rw-r--r-- | ext/Win32API/getch.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/Win32API/getch.rb b/ext/Win32API/getch.rb new file mode 100644 index 0000000000..c015bbe9bc --- /dev/null +++ b/ext/Win32API/getch.rb @@ -0,0 +1,5 @@ +require 'Win32API' + +getch = Win32API.new("crtdll", "_getch", [], 'L') + +puts getch.Call.chr |