module Net::SSH::PromptMethods::Termios

def prompt(prompt, echo=true)

this method.
library will be used to disable keystroke echoing for the duration of
Displays the prompt to $stdout. If +echo+ is false, the Termios
def prompt(prompt, echo=true)
  $stdout.print(prompt)
  $stdout.flush
  set_echo(false) unless echo
  $stdin.gets.chomp
ensure
  if !echo
    set_echo(true)
    $stdout.puts
  end
end