def prompt
      n = @kat.results[@page].size
      @h.ask("1#{ "-#{n}" if n > 1}".cyan(true) << ' to download' <<
             "#{ ', ' << '(n)'.cyan(true) << 'ext' if next? }" <<
             "#{ ', ' << '(p)'.cyan(true) << 'rev' if prev? }" <<
             "#{ ", #{ @show_info ? 'hide' : 'show' } " << '(i)'.cyan(true) << 'nfo' if hide_info? }" <<
             ', ' << '(q)'.cyan(true) << 'uit: ') do |q|
        q.responses[:not_valid] = 'Invalid option.'
        q.validate = validation_regex
      end
    rescue RegexpError
      puts((@kat.pages > 0 ? "Error reading the page\n" : "Could not connect to the site\n").red)

      return 'q'
    end
def prompt
      n = @kat.results[@page].size
      @h.ask("1#{ "-#{n}" if n > 1}".cyan(true) << ' to download' <<
             "#{ ', ' << '(n)'.cyan(true) << 'ext' if next? }" <<
             "#{ ', ' << '(p)'.cyan(true) << 'rev' if prev? }" <<
             "#{ ", #{ @show_info ? 'hide' : 'show' } " << '(i)'.cyan(true) << 'nfo' if hide_info? }" <<
             ', ' << '(q)'.cyan(true) << 'uit: ') do |q|
        q.responses[:not_valid] = 'Invalid option.'
        q.validate = validation_regex
      end
    rescue RegexpError
      puts((@kat.pages > 0 ? "Error reading the page\n" : "Could not connect to the site\n").red)

      return 'q'
    end
Set the prompt after the results list has been printed