aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattetti2010-05-17 19:10:10 -0700
committerMax Howell2012-03-09 12:08:51 +0000
commit4c0545619d3aaa91f78e00a0d13e662a078a6543 (patch)
tree125210a524a44d25b416ec783ab847b56289a5f1
parentebbc2e5b3fae09f6497723a2f0cb12c2248c082e (diff)
downloadbrew-4c0545619d3aaa91f78e00a0d13e662a078a6543.tar.bz2
Use getbyte and not getc
-rw-r--r--install_homebrew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb
index fa95e381e..6edfb4067 100644
--- a/install_homebrew.rb
+++ b/install_homebrew.rb
@@ -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