def pause
      msg = pause_message
      $pause_output_out.write(msg)

      MiniTerm.raw do |term|
        result = term.get_raw_char
        term.flush
        result
      end

    ensure
      $pause_output_out.write("\r" + " " * msg.length + "\r")
    end
def pause
      msg = pause_message
      $pause_output_out.write(msg)

      MiniTerm.raw do |term|
        result = term.get_raw_char
        term.flush
        result
      end

    ensure
      $pause_output_out.write("\r" + " " * msg.length + "\r")
    end
Pause waiting for the user.