Use full path to stty
This commit is contained in:
parent
ca5bccd2d9
commit
ebbc2e5b3f
@ -71,10 +71,10 @@ def sudo *args
|
||||
end
|
||||
|
||||
def getc # NOTE only tested on OS X
|
||||
system "stty raw -echo"
|
||||
system "/bin/stty raw -echo"
|
||||
STDIN.getc
|
||||
ensure
|
||||
system "stty -raw echo"
|
||||
system "/bin/stty -raw echo"
|
||||
end
|
||||
|
||||
####################################################################### script
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user