# File lib/net/ssh/prompt.rb, line 64 64: def prompt(prompt, echo=true) 65: @seen_warning ||= false 66: if !echo && !@seen_warning 67: $stderr.puts "Text will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text." 68: @seen_warning = true 69: end 70: 71: $stdout.print(prompt) 72: $stdout.flush 73: $stdin.gets.chomp 74: end