Answer the question
In order to leave comments, you need to log in
Commands in the terminal, what to read?
Hello! I trained in writing native applications in ruby and came across this:
begin
system("stty raw -echo")
mode = STDIN.getc
ensure
system("stty -raw echo")
end
system("stty raw -echo")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question