Use getbyte and not getc

This commit is contained in:
mattetti authored and Max Howell committed 2012-03-09 12:08:51 +00:00
1 parent ebbc2e5b3f
commit 4c0545619d
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ end
def getc # NOTE only tested on OS X
system "/bin/stty raw -echo"
STDIN.getc
STDIN.getbyte
ensure
system "/bin/stty -raw echo"
end