mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 13:09:47 -05:00
Use getbyte and not getc
This commit is contained in:
1 parent
ebbc2e5b3f
commit
4c0545619d
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user