def get_from_stdin(prompt, mask = false)
  $stdout.write(prompt)

  begin
    Kernel::system "stty -echo" if mask == true