class HighLine::Terminal::IOConsole

def restore_mode

(see Terminal#restore_mode)
def restore_mode
  input.echo = true
rescue Errno::ENOTTY
end