# File lib/autotest/menu.rb, line 13 def self.getchar system 'stty raw echo' STDIN.getc ensure system "stty '#{STTY_SAVE_STATE}'" end