# File lib/interact/interactive.rb, line 140
  def read_line(options = {})
    input = options[:input] || $stdin

    state = input_state(options)
    with_char_io(input) do
      until state.done?
        handler(get_event(input), state)
      end
    end

    state.answer
  end